Class AtmosphereWebSocketJettyDestination
- 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
-
- org.apache.cxf.transport.http_jetty.JettyHTTPDestination
-
- org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketJettyDestination
-
- All Implemented Interfaces:
Configurable,Assertor,Destination,DestinationWithEndpoint,MultiplexDestination,Observable,ServletConfigAware,WebSocketDestinationService
public class AtmosphereWebSocketJettyDestination extends JettyHTTPDestination implements WebSocketDestinationService
-
-
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_jetty.JettyHTTPDestination
engine, handler, loader, nurl, serverEngineFactory, servletContext
-
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 AtmosphereWebSocketJettyDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, JettyHTTPServerEngineFactory serverEngineFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate()Activate receipt of incoming messages.protected JettyHTTPHandlercreateJettyHTTPHandler(JettyHTTPDestination jhd, boolean cmExact)protected StringgetAddress(EndpointInfo endpointInfo)protected StringgetBasePath(String contextPath)voidinvokeInternal(javax.servlet.ServletConfig config, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidshutdown()Shutdown the Destination, i.e.-
Methods inherited from class org.apache.cxf.transport.http_jetty.JettyHTTPDestination
deactivate, doService, doService, finalizeConfig, flushHeaders, getBasePathForFullAddress, getEngine, getLogger, invokeComplete, retrieveEngine, retrieveFromContinuation, setServletContext
-
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
assertMessage, canAssert, contextMatchOnExact, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invoke, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation, setupMessage
-
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
-
AtmosphereWebSocketJettyDestination
public AtmosphereWebSocketJettyDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, JettyHTTPServerEngineFactory serverEngineFactory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
activate
protected void activate()
Description copied from class:JettyHTTPDestinationActivate receipt of incoming messages.- Overrides:
activatein classJettyHTTPDestination
-
invokeInternal
public void invokeInternal(javax.servlet.ServletConfig config, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException- Specified by:
invokeInternalin interfaceWebSocketDestinationService- Throws:
IOException
-
getAddress
protected String getAddress(EndpointInfo endpointInfo)
- Overrides:
getAddressin classJettyHTTPDestination
-
getBasePath
protected String getBasePath(String contextPath) throws IOException
- Overrides:
getBasePathin classServletDestination- Throws:
IOException
-
createJettyHTTPHandler
protected JettyHTTPHandler createJettyHTTPHandler(JettyHTTPDestination jhd, boolean cmExact)
- Overrides:
createJettyHTTPHandlerin classJettyHTTPDestination
-
shutdown
public void shutdown()
Description copied from class:AbstractDestinationShutdown the Destination, i.e. stop accepting incoming messages.- Specified by:
shutdownin interfaceDestination- Overrides:
shutdownin classAbstractHTTPDestination
-
-