public interface BoundEndpoint extends Component
WSEndpoint bound to a particular transport.Module.getBoundEndpoints()| Modifier and Type | Method and Description |
|---|---|
URI |
getAddress()
The address of the bound endpoint.
|
URI |
getAddress(String baseAddress)
The address of the bound endpoint using the base address.
|
WSEndpoint |
getEndpoint()
The endpoint that was bound.
|
@NotNull WSEndpoint getEndpoint()
Multiple BoundEndpoints may point to the same WSEndpoint,
if it's bound to multiple transports.
@NotNull URI getAddress()
For example, if this endpoint is bound to a servlet endpoint "http://foobar/myapp/myservice", then this method should return that address.
@NotNull URI getAddress(String baseAddress)
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"
baseAddress - that is used in computing the full addressCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.