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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDestination(AbstractHTTPDestination destination) checkRestfulRequest(String address) getDestinationForPath(String path) getDestinationForPath(String path, boolean tryDecoding) org.apache.cxf.transport.AbstractDestination[]getTrimmedPath(String path) Remove the transport protocol from the path and make it starts with /voidonServletConfigAvailable(jakarta.servlet.ServletConfig config) voidremoveDestination(String path)
-
Constructor Details
-
DestinationRegistryImpl
public DestinationRegistryImpl()
-
-
Method Details
-
addDestination
- Specified by:
addDestinationin interfaceDestinationRegistry
-
removeDestination
- Specified by:
removeDestinationin interfaceDestinationRegistry
-
getDestinationForPath
- Specified by:
getDestinationForPathin interfaceDestinationRegistry
-
getDestinationForPath
- Specified by:
getDestinationForPathin interfaceDestinationRegistry
-
checkRestfulRequest
- Specified by:
checkRestfulRequestin interfaceDestinationRegistry
-
getDestinations
- Specified by:
getDestinationsin interfaceDestinationRegistry
-
getSortedDestinations
public org.apache.cxf.transport.AbstractDestination[] getSortedDestinations()- Specified by:
getSortedDestinationsin interfaceDestinationRegistry
-
getDestinationsPaths
- Specified by:
getDestinationsPathsin interfaceDestinationRegistry
-
getTrimmedPath
Remove the transport protocol from the path and make it starts with /- Parameters:
path-- Returns:
- trimmed path
-
onServletConfigAvailable
public void onServletConfigAvailable(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
onServletConfigAvailablein interfaceServletConfigAware- Throws:
jakarta.servlet.ServletException
-