Name
URLEndpoint
Synopsis
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access