Previous section   Next section
URLEndpoint javax.xml.messaging

JAXM 1.1; JWSDP 1.0
public class URLEndpoint extends Endpoint {
// Public Constructors
    public URLEndpoint( String url); 
// Public Instance Methods
    public String getURL(  ); 
}

URLEndpoint is a subclass of Endpoint in which the URI that represents the endpoint address is expected to be a valid URL.

This class is used internally within the JAXM reference implementation to represent the addresses to which a URI used by a JAXM clients is mapped within the JAXM provider, since each such address must be the URL of the provider that will receive a message with that URI. From the viewpoint of a JAXM client, however, the URLEndpoint class is of no practical use, at least in the reference implementation, since neither of the profiles that it supports will accept a message destination that is a URL.

A URLEndpoint can be used by a SAAJ client in conjunction with the SOAPConnection send( ) method. However, it is simpler to use a string version of the URL instead.


  Previous section   Next section