public class AtmosphereSseServletDestination extends ServletDestination
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 |
---|
AtmosphereSseServletDestination(Bus bus,
DestinationRegistry registry,
EndpointInfo ei,
String path) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
flushHeaders(Message outMessage) |
protected OutputStream |
flushHeaders(Message outMessage,
boolean getStream) |
void |
invoke(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, finalizeConfig, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invokeComplete, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation, setupMessage
getAddress, getBackChannel, getEndpointInfo
getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onServletConfigAvailable
getAddress, getBackChannel, getMessageObserver
setMessageObserver
public AtmosphereSseServletDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, String path) throws IOException
IOException
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 shutdown()
AbstractDestination
shutdown
in interface Destination
shutdown
in class AbstractHTTPDestination
protected OutputStream flushHeaders(Message outMessage, boolean getStream) throws IOException
flushHeaders
in class AbstractHTTPDestination
IOException
protected OutputStream flushHeaders(Message outMessage) throws IOException
flushHeaders
in class AbstractHTTPDestination
IOException
Apache CXF