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 DestinationRegistrypublic void removeDestination(String path)
removeDestination in interface DestinationRegistrypublic AbstractHTTPDestination getDestinationForPath(String path)
getDestinationForPath in interface DestinationRegistrypublic AbstractHTTPDestination getDestinationForPath(String path, boolean tryDecoding)
getDestinationForPath in interface DestinationRegistrypublic AbstractHTTPDestination checkRestfulRequest(String address)
checkRestfulRequest in interface DestinationRegistrypublic Collection<AbstractHTTPDestination> getDestinations()
getDestinations in interface DestinationRegistrypublic AbstractDestination[] getSortedDestinations()
getSortedDestinations in interface DestinationRegistrypublic Set<String> getDestinationsPaths()
getDestinationsPaths in interface DestinationRegistrypublic String getTrimmedPath(String path)
path - public void onServletConfigAvailable(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
onServletConfigAvailable in interface ServletConfigAwarejavax.servlet.ServletExceptionApache CXF