public class DestinationRegistryImpl extends Object implements DestinationRegistry, ServletConfigAware
Constructor and Description |
---|
DestinationRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDestination(AbstractHTTPDestination destination) |
AbstractHTTPDestination |
checkRestfulRequest(String address) |
AbstractHTTPDestination |
getDestinationForPath(String path) |
AbstractHTTPDestination |
getDestinationForPath(String path,
boolean tryDecoding) |
Collection<AbstractHTTPDestination> |
getDestinations() |
Set<String> |
getDestinationsPaths() |
AbstractDestination[] |
getSortedDestinations() |
String |
getTrimmedPath(String path)
Remove the transport protocol from the path and make
it starts with /
|
void |
onServletConfigAvailable(javax.servlet.ServletConfig config) |
void |
removeDestination(String path) |
public void addDestination(AbstractHTTPDestination destination)
addDestination
in interface DestinationRegistry
public void removeDestination(String path)
removeDestination
in interface DestinationRegistry
public AbstractHTTPDestination getDestinationForPath(String path)
getDestinationForPath
in interface DestinationRegistry
public AbstractHTTPDestination getDestinationForPath(String path, boolean tryDecoding)
getDestinationForPath
in interface DestinationRegistry
public AbstractHTTPDestination checkRestfulRequest(String address)
checkRestfulRequest
in interface DestinationRegistry
public Collection<AbstractHTTPDestination> getDestinations()
getDestinations
in interface DestinationRegistry
public AbstractDestination[] getSortedDestinations()
getSortedDestinations
in interface DestinationRegistry
public Set<String> getDestinationsPaths()
getDestinationsPaths
in interface DestinationRegistry
public String getTrimmedPath(String path)
path
- public void onServletConfigAvailable(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
onServletConfigAvailable
in interface ServletConfigAware
javax.servlet.ServletException
Apache CXF