public final class ServerAdapter extends HttpAdapter implements BoundEndpoint
HttpAdapter
for Endpoint API.
This is a thin wrapper around HttpAdapter
with some description specified in the deployment (in particular those
information are related to how a request is routed to a ServerAdapter
.
This class implements BoundEndpoint
and represent the
server-WSEndpoint
association for Endpoint API's transport
HttpAdapter.CompletionCallback
Adapter.Toolkit
disableJreplicaCookie, dump, dump_threshold, NO_OP_COMPLETION_CALLBACK, owner, publishStatusPage, stickyCookie, urlPattern, wsdls
Modifier | Constructor and Description |
---|---|
protected |
ServerAdapter(String name,
String urlPattern,
WSEndpoint endpoint,
ServerAdapterList owner) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
URI |
getAddress()
The address of the bound endpoint.
|
URI |
getAddress(String baseAddress)
The address of the bound endpoint using the base address.
|
String |
getName()
Gets the name of the endpoint as given in the sun-jaxws.xml
deployment descriptor.
|
String |
getUrlPattern() |
String |
toString() |
addSatellites, createAlone, createToolkit, fixQuotesAroundSoapAction, getDocumentAddressResolver, getNonAnonymousResponseProcessor, getPortAddressResolver, getServiceDefinition, getValidPath, handle, handleGet, initWSDLMap, invokeAsync, invokeAsync, publishWSDL, setDump, setPublishStatus, writeClientError
getEndpoint, getEndpointComponent, getPool, getSPI, reconfigure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEndpoint
protected ServerAdapter(String name, String urlPattern, WSEndpoint endpoint, ServerAdapterList owner)
public String getName()
@NotNull public URI getAddress()
BoundEndpoint
For example, if this endpoint is bound to a servlet endpoint "http://foobar/myapp/myservice", then this method should return that address.
getAddress
in interface BoundEndpoint
@NotNull public URI getAddress(String baseAddress)
BoundEndpoint
If the endpoint is bound to a servlet endpoint, the base address won't include the url-pattern, so the base address would be "http://host:port/context". This method would include url-pattern for the endpoint and return that address for e.g. "http://host:port/context/url-pattern"
getAddress
in interface BoundEndpoint
baseAddress
- that is used in computing the full addresspublic void dispose()
public String getUrlPattern()
Copyright © 2015 Oracle Corporation. All rights reserved.