Interface nsIURIMutatorType

Hierarchy

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Initalizes the URI by reading IPC URIParams. See nsIURI.

    Parameters

    • aParams: const_URIParams_ref

    Returns number

  • Finishes changing or constructing the URI and returns an immutable URI.

    Returns nsIURI

  • Parameters

    • aFilePath: string

    Returns nsIURIMutator

  • Parameters

    • aHost: string

    Returns nsIURIMutator

  • If you setHostPort to a value that only has a host part, the port will not be reset. To reset the port set it to -1 beforehand. If setting the host succeeds, this method will return NS_OK, even if setting the port fails (error in parsing the port, or value out of range)

    Parameters

    • aHostPort: string

    Returns nsIURIMutator

  • Parameters

    • aPassword: string

    Returns nsIURIMutator

  • Parameters

    • aPort: number

    Returns nsIURIMutator

  • Parameters

    • aQuery: string

    Returns nsIURIMutator

  • Parameters

    • query: string
    • encoding: Encoding

    Returns nsIURIMutator

  • Parameters

    • aRef: string

    Returns nsIURIMutator

  • Setting the scheme outside of a protocol handler implementation is highly discouraged since that will generally lead to incorrect results.

    Parameters

    • aScheme: string

    Returns nsIURIMutator

  • This setter is different from all other setters because it may be used to initialize the object. We define it separately allowing mutator implementors to define it separately, while the rest of the setters may be simply forwarded to the mutable URI.

    Parameters

    • aSpec: string

    Returns nsIURIMutator

  • Parameters

    • aUserPass: string

    Returns nsIURIMutator

  • Parameters

    • aUsername: string

    Returns nsIURIMutator

Generated using TypeDoc