Package org.apache.cxf.transport.servlet
Class ServletDestination
- java.lang.Object
-
- org.apache.cxf.transport.AbstractObservable
-
- org.apache.cxf.transport.AbstractDestination
-
- org.apache.cxf.transport.AbstractMultiplexDestination
-
- org.apache.cxf.transport.http.AbstractHTTPDestination
-
- org.apache.cxf.transport.servlet.ServletDestination
-
- All Implemented Interfaces:
Configurable,Assertor,Destination,DestinationWithEndpoint,MultiplexDestination,Observable,ServletConfigAware
- Direct Known Subclasses:
AtmosphereWebSocketServletDestination,JettyHTTPDestination,UndertowHTTPDestination
public class ServletDestination extends AbstractHTTPDestination implements ServletConfigAware
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
AbstractHTTPDestination.BackChannelConduit, AbstractHTTPDestination.PrincipalAuthorizationPolicy
-
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
AbstractDestination.AbstractBackChannelConduit
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
bus, certConstraints, contextMatchStrategy, cproviderFactory, CXF_ASYNC_CONTEXT, CXF_CONTINUATION_MESSAGE, decodeBasicAuthWithIso8859, enableWebSocket, fixedParameterOrder, HTTP_CONFIG, HTTP_CONTEXT, HTTP_CONTEXT_MATCH_STRATEGY, HTTP_REQUEST, HTTP_RESPONSE, isServlet3, multiplexWithAddress, path, registry, REQUEST_REDIRECTED, RESPONSE_COMMITED, RESPONSE_HEADERS_COPIED, serverPolicy, SERVICE_REDIRECTION
-
Fields inherited from class org.apache.cxf.transport.AbstractDestination
endpointInfo, reference
-
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
-
-
Constructor Summary
Constructors Constructor Description ServletDestination(Bus b, DestinationRegistry registry, EndpointInfo ei, String path)Constructor, allowing subsititution of configuration.ServletDestination(Bus b, DestinationRegistry registry, EndpointInfo ei, String path, boolean dp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetBasePath(String contextPath)protected LoggergetLogger()-
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
activate, assertMessage, canAssert, contextMatchOnExact, deactivate, finalizeConfig, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invoke, invokeComplete, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation, setupMessage, shutdown
-
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getEndpointInfo
-
Methods inherited from class org.apache.cxf.transport.AbstractObservable
getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.transport.Destination
getAddress, getBackChannel, getMessageObserver
-
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
-
Methods inherited from interface org.apache.cxf.transport.servlet.ServletConfigAware
onServletConfigAvailable
-
-
-
-
Constructor Detail
-
ServletDestination
public ServletDestination(Bus b, DestinationRegistry registry, EndpointInfo ei, String path) throws IOException
Constructor, allowing subsititution of configuration.- Parameters:
b- the associated Busregistry- the destination registryei- the endpoint info of the destinationpath- the path- Throws:
IOException
-
ServletDestination
public ServletDestination(Bus b, DestinationRegistry registry, EndpointInfo ei, String path, boolean dp) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getLogger
protected Logger getLogger()
- Specified by:
getLoggerin classAbstractObservable- Returns:
- the logger to use
-
getBasePath
protected String getBasePath(String contextPath) throws IOException
- Overrides:
getBasePathin classAbstractHTTPDestination- Throws:
IOException
-
-