public abstract class AbstractHTTPDestination
extends org.apache.cxf.transport.AbstractMultiplexDestination
implements org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Assertor
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHTTPDestination.BackChannelConduit
Backchannel conduit.
|
static class |
AbstractHTTPDestination.PrincipalAuthorizationPolicy |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.cxf.Bus |
bus |
protected CertConstraints |
certConstraints |
protected String |
contextMatchStrategy |
protected ContinuationProviderFactory |
cproviderFactory |
static String |
CXF_ASYNC_CONTEXT |
static String |
CXF_CONTINUATION_MESSAGE |
protected boolean |
decodeBasicAuthWithIso8859 |
protected boolean |
enableWebSocket |
protected boolean |
fixedParameterOrder |
static String |
HTTP_CONFIG |
static String |
HTTP_CONTEXT |
static String |
HTTP_CONTEXT_MATCH_STRATEGY |
static String |
HTTP_REQUEST |
static String |
HTTP_RESPONSE |
protected boolean |
isServlet3 |
protected boolean |
multiplexWithAddress |
protected String |
path |
protected DestinationRegistry |
registry |
static String |
REQUEST_REDIRECTED |
static String |
RESPONSE_COMMITED |
static String |
RESPONSE_HEADERS_COPIED |
protected HTTPServerPolicy |
serverPolicy |
static String |
SERVICE_REDIRECTION |
| Constructor and Description |
|---|
AbstractHTTPDestination(org.apache.cxf.Bus b,
DestinationRegistry registry,
org.apache.cxf.service.model.EndpointInfo ei,
String path,
boolean dp)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
void |
assertMessage(org.apache.cxf.message.Message message) |
boolean |
canAssert(QName type) |
protected boolean |
contextMatchOnExact() |
protected void |
deactivate() |
void |
finalizeConfig() |
protected OutputStream |
flushHeaders(org.apache.cxf.message.Message outMessage) |
protected OutputStream |
flushHeaders(org.apache.cxf.message.Message outMessage,
boolean getStream) |
protected static org.apache.cxf.service.model.EndpointInfo |
getAddressValue(org.apache.cxf.service.model.EndpointInfo ei) |
protected static org.apache.cxf.service.model.EndpointInfo |
getAddressValue(org.apache.cxf.service.model.EndpointInfo ei,
boolean dp) |
org.apache.cxf.ws.addressing.EndpointReferenceType |
getAddressWithId(String id) |
protected String |
getBasePath(String contextPath) |
String |
getBeanName() |
org.apache.cxf.Bus |
getBus() |
String |
getContextMatchStrategy() |
String |
getId(Map<String,Object> context) |
protected org.apache.cxf.transport.Conduit |
getInbuiltBackChannel(org.apache.cxf.message.Message inMessage) |
String |
getPath() |
HTTPServerPolicy |
getServer() |
void |
invoke(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
invokeComplete(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.apache.cxf.message.Message m) |
boolean |
isFixedParameterOrder() |
boolean |
isMultiplexWithAddress() |
protected boolean |
isOneWay(org.apache.cxf.message.Message message) |
void |
releaseRegistry() |
protected org.apache.cxf.message.Message |
retrieveFromContinuation(javax.servlet.http.HttpServletRequest req) |
protected org.apache.cxf.message.Message |
retrieveFromServlet3Async(javax.servlet.http.HttpServletRequest req) |
void |
setContextMatchStrategy(String contextMatchStrategy) |
void |
setFixedParameterOrder(boolean fixedParameterOrder) |
void |
setMultiplexWithAddress(boolean multiplexWithAddress) |
void |
setServer(HTTPServerPolicy server) |
protected void |
setupContinuation(org.apache.cxf.message.Message inMessage,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
setupMessage(org.apache.cxf.message.Message inMessage,
javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
shutdown() |
getAddress, getBackChannel, getEndpointInfogetLogger, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String HTTP_REQUEST
public static final String HTTP_RESPONSE
public static final String HTTP_CONTEXT
public static final String HTTP_CONFIG
public static final String HTTP_CONTEXT_MATCH_STRATEGY
public static final String RESPONSE_HEADERS_COPIED
public static final String RESPONSE_COMMITED
public static final String REQUEST_REDIRECTED
public static final String CXF_CONTINUATION_MESSAGE
public static final String CXF_ASYNC_CONTEXT
public static final String SERVICE_REDIRECTION
protected final org.apache.cxf.Bus bus
protected DestinationRegistry registry
protected final String path
protected volatile HTTPServerPolicy serverPolicy
protected String contextMatchStrategy
protected boolean fixedParameterOrder
protected boolean multiplexWithAddress
protected CertConstraints certConstraints
protected boolean isServlet3
protected boolean decodeBasicAuthWithIso8859
protected ContinuationProviderFactory cproviderFactory
protected boolean enableWebSocket
public AbstractHTTPDestination(org.apache.cxf.Bus b,
DestinationRegistry registry,
org.apache.cxf.service.model.EndpointInfo ei,
String path,
boolean dp)
throws IOException
b - the associated Busci - the associated conduit initiatorei - the endpoint info of the destinationdp - true for adding the default port if it is missingIOExceptionpublic org.apache.cxf.Bus getBus()
protected final boolean isOneWay(org.apache.cxf.message.Message message)
message - the message under considerationpublic void invoke(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionprotected void invokeComplete(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.apache.cxf.message.Message m)
throws IOException
IOExceptionprotected void setupMessage(org.apache.cxf.message.Message inMessage,
javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionprotected org.apache.cxf.message.Message retrieveFromContinuation(javax.servlet.http.HttpServletRequest req)
protected org.apache.cxf.message.Message retrieveFromServlet3Async(javax.servlet.http.HttpServletRequest req)
protected void setupContinuation(org.apache.cxf.message.Message inMessage,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
protected String getBasePath(String contextPath) throws IOException
IOExceptionprotected static org.apache.cxf.service.model.EndpointInfo getAddressValue(org.apache.cxf.service.model.EndpointInfo ei)
protected static org.apache.cxf.service.model.EndpointInfo getAddressValue(org.apache.cxf.service.model.EndpointInfo ei,
boolean dp)
protected org.apache.cxf.transport.Conduit getInbuiltBackChannel(org.apache.cxf.message.Message inMessage)
getInbuiltBackChannel in class org.apache.cxf.transport.AbstractDestinationinMessage - the incoming messageprotected OutputStream flushHeaders(org.apache.cxf.message.Message outMessage) throws IOException
IOExceptionprotected OutputStream flushHeaders(org.apache.cxf.message.Message outMessage, boolean getStream) throws IOException
IOExceptionprotected boolean contextMatchOnExact()
public void finalizeConfig()
public String getBeanName()
getBeanName in interface org.apache.cxf.configuration.Configurablepublic org.apache.cxf.ws.addressing.EndpointReferenceType getAddressWithId(String id)
getAddressWithId in interface org.apache.cxf.transport.MultiplexDestinationgetAddressWithId in class org.apache.cxf.transport.AbstractMultiplexDestinationpublic String getId(Map<String,Object> context)
getId in interface org.apache.cxf.transport.MultiplexDestinationgetId in class org.apache.cxf.transport.AbstractMultiplexDestinationpublic String getContextMatchStrategy()
public void setContextMatchStrategy(String contextMatchStrategy)
public boolean isFixedParameterOrder()
public void setFixedParameterOrder(boolean fixedParameterOrder)
public boolean isMultiplexWithAddress()
public void setMultiplexWithAddress(boolean multiplexWithAddress)
public HTTPServerPolicy getServer()
public void setServer(HTTPServerPolicy server)
public void assertMessage(org.apache.cxf.message.Message message)
assertMessage in interface org.apache.cxf.transport.Assertorpublic boolean canAssert(QName type)
canAssert in interface org.apache.cxf.transport.Assertorpublic void releaseRegistry()
public String getPath()
protected void activate()
activate in class org.apache.cxf.transport.AbstractObservableprotected void deactivate()
deactivate in class org.apache.cxf.transport.AbstractObservablepublic void shutdown()
shutdown in interface org.apache.cxf.transport.Destinationshutdown in class org.apache.cxf.transport.AbstractDestinationApache CXF