public class AtmosphereWebSocketServletDestination extends ServletDestination implements WebSocketDestinationService
AbstractHTTPDestination.BackChannelConduit, AbstractHTTPDestination.PrincipalAuthorizationPolicy
AbstractDestination.AbstractBackChannelConduit
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
endpointInfo, reference
incomingObserver
Constructor and Description |
---|
AtmosphereWebSocketServletDestination(Bus bus,
DestinationRegistry registry,
EndpointInfo ei,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeConfig() |
void |
invoke(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
invokeInternal(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
onServletConfigAvailable(javax.servlet.ServletConfig config) |
protected void |
setupMessage(Message inMessage,
javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
shutdown()
Shutdown the Destination, i.e.
|
getBasePath, getLogger
activate, assertMessage, canAssert, contextMatchOnExact, deactivate, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invokeComplete, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation
getAddress, getBackChannel, getEndpointInfo
getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress, getBackChannel, getMessageObserver
setMessageObserver
public AtmosphereWebSocketServletDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, String path) throws IOException
IOException
public void finalizeConfig()
finalizeConfig
in class AbstractHTTPDestination
public void onServletConfigAvailable(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
onServletConfigAvailable
in interface ServletConfigAware
javax.servlet.ServletException
public void invoke(javax.servlet.ServletConfig config, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
invoke
in class AbstractHTTPDestination
IOException
public void invokeInternal(javax.servlet.ServletConfig config, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
invokeInternal
in interface WebSocketDestinationService
IOException
protected void setupMessage(Message inMessage, javax.servlet.ServletConfig config, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
setupMessage
in class AbstractHTTPDestination
IOException
public void shutdown()
AbstractDestination
shutdown
in interface Destination
shutdown
in class AbstractHTTPDestination
Apache CXF