Package org.apache.cxf.transport.http
Class DestinationRegistryImpl
- java.lang.Object
-
- org.apache.cxf.transport.http.DestinationRegistryImpl
-
- All Implemented Interfaces:
DestinationRegistry,ServletConfigAware
public class DestinationRegistryImpl extends Object implements DestinationRegistry, ServletConfigAware
-
-
Constructor Summary
Constructors Constructor Description DestinationRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDestination(AbstractHTTPDestination destination)AbstractHTTPDestinationcheckRestfulRequest(String address)AbstractHTTPDestinationgetDestinationForPath(String path)AbstractHTTPDestinationgetDestinationForPath(String path, boolean tryDecoding)Collection<AbstractHTTPDestination>getDestinations()Set<String>getDestinationsPaths()AbstractDestination[]getSortedDestinations()StringgetTrimmedPath(String path)Remove the transport protocol from the path and make it starts with /voidonServletConfigAvailable(javax.servlet.ServletConfig config)voidremoveDestination(String path)
-
-
-
Method Detail
-
addDestination
public void addDestination(AbstractHTTPDestination destination)
- Specified by:
addDestinationin interfaceDestinationRegistry
-
removeDestination
public void removeDestination(String path)
- Specified by:
removeDestinationin interfaceDestinationRegistry
-
getDestinationForPath
public AbstractHTTPDestination getDestinationForPath(String path)
- Specified by:
getDestinationForPathin interfaceDestinationRegistry
-
getDestinationForPath
public AbstractHTTPDestination getDestinationForPath(String path, boolean tryDecoding)
- Specified by:
getDestinationForPathin interfaceDestinationRegistry
-
checkRestfulRequest
public AbstractHTTPDestination checkRestfulRequest(String address)
- Specified by:
checkRestfulRequestin interfaceDestinationRegistry
-
getDestinations
public Collection<AbstractHTTPDestination> getDestinations()
- Specified by:
getDestinationsin interfaceDestinationRegistry
-
getSortedDestinations
public AbstractDestination[] getSortedDestinations()
- Specified by:
getSortedDestinationsin interfaceDestinationRegistry
-
getDestinationsPaths
public Set<String> getDestinationsPaths()
- Specified by:
getDestinationsPathsin interfaceDestinationRegistry
-
getTrimmedPath
public String getTrimmedPath(String path)
Remove the transport protocol from the path and make it starts with /- Parameters:
path-- Returns:
- trimmed path
-
onServletConfigAvailable
public void onServletConfigAvailable(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
onServletConfigAvailablein interfaceServletConfigAware- Throws:
javax.servlet.ServletException
-
-