Jaxer.NetworkUtils : Object
Return to: Jaxer Framework index

This is a utility class that wraps XPCOM Network utility functions

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Constructors

ConstructorActionJaxer Server FrameworkJaxer Client Framework
Jaxer.NetworkUtils Constructor() : Jaxer.NetworkUtils
Network Utility helper object
Show Details1.0no

Jaxer.NetworkUtils() : Jaxer.NetworkUtils

Network Utility helper object

Returns
Jaxer.NetworkUtils

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
fixupURI(Object aURI) : String
Invokes the XPCOM nsIURIFixup method and return a 'fixed' URI
Show Details1.0no

Parameters
ObjectaURIThe URI to process

Returns
StringThe fixed URI as a string

onStartRequest(Object aRequest, Object aContext) : void
A stub function to be overridden
Show Details1.0no

Parameters
ObjectaRequestrequest object
ObjectaContextthe contextual object for this request

onStopRequest(Object aRequest, Object aContext, Object aStatus) : void
Invokes the callback function for completed requests
Show Details1.0no

Parameters
ObjectaRequestthe request object
ObjectaContextthe current context of the request context
ObjectaStatusthe current status of the request object

QueryInterface(Object iid) : void
Returns a QueryInterface for the provided XPCOM Interface ID
Show Details1.0no

Parameters
Objectiidthe requested XPCOM Interface ID

validateURI(Object aURI) : void
Validates the provided URI using XPCOM and returns JSLib.Ok if successful
Show Details1.0no

Parameters
ObjectaURIThe URI to validate

aptana_docs