org.apache.cxf.transport.http
Class DestinationRegistryImpl
java.lang.Object
org.apache.cxf.transport.http.DestinationRegistryImpl
- All Implemented Interfaces:
- DestinationRegistry
public class DestinationRegistryImpl
- extends Object
- implements DestinationRegistry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestinationRegistryImpl
public DestinationRegistryImpl()
addDestination
public void addDestination(AbstractHTTPDestination destination)
- Specified by:
addDestination
in interface DestinationRegistry
removeDestination
public void removeDestination(String path)
- Specified by:
removeDestination
in interface DestinationRegistry
getDestinationForPath
public AbstractHTTPDestination getDestinationForPath(String path)
- Specified by:
getDestinationForPath
in interface DestinationRegistry
getDestinationForPath
public AbstractHTTPDestination getDestinationForPath(String path,
boolean tryDecoding)
- Specified by:
getDestinationForPath
in interface DestinationRegistry
checkRestfulRequest
public AbstractHTTPDestination checkRestfulRequest(String address)
- Specified by:
checkRestfulRequest
in interface DestinationRegistry
getDestinations
public Collection<AbstractHTTPDestination> getDestinations()
- Specified by:
getDestinations
in interface DestinationRegistry
getSortedDestinations
public AbstractDestination[] getSortedDestinations()
- Specified by:
getSortedDestinations
in interface DestinationRegistry
getDestinationsPaths
public Set<String> getDestinationsPaths()
- Specified by:
getDestinationsPaths
in interface DestinationRegistry
getTrimmedPath
public static String getTrimmedPath(String path)
- Remove the transport protocol from the path and make
it starts with /
- Parameters:
path
-
- Returns:
- trimmed path
Apache CXF