org.apache.cxf.transport.http
Class AbstractHTTPDestination
java.lang.Object
org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.http.AbstractHTTPDestination
- All Implemented Interfaces:
- org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, org.apache.cxf.transport.Observable
- Direct Known Subclasses:
- JettyHTTPDestination
public abstract class AbstractHTTPDestination
- extends org.apache.cxf.transport.AbstractDestination
- implements org.apache.cxf.configuration.Configurable
Common base for HTTP Destination implementations.
| Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination |
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit |
| Fields inherited from class org.apache.cxf.transport.AbstractDestination |
endpointInfo, incomingObserver, reference |
|
Constructor Summary |
AbstractHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo ei)
Constructor |
| Methods inherited from class org.apache.cxf.transport.AbstractDestination |
activate, deactivate, getAddress, getBackChannel, getConduitInitiator, getInbuiltBackChannel, getLogger, getMessageObserver, getTargetReference, markPartialResponse, setMessageObserver, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bus
protected final org.apache.cxf.Bus bus
conduitInitiator
protected final org.apache.cxf.transport.ConduitInitiator conduitInitiator
name
protected java.lang.String name
nurl
protected java.net.URL nurl
server
protected HTTPServerPolicy server
authorization
protected org.apache.cxf.configuration.security.AuthorizationPolicy authorization
sslServer
protected org.apache.cxf.configuration.security.SSLServerPolicy sslServer
contextMatchStrategy
protected java.lang.String contextMatchStrategy
fixedParameterOrder
protected boolean fixedParameterOrder
AbstractHTTPDestination
public AbstractHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo ei)
throws java.io.IOException
- Constructor
- Parameters:
b - the associated Busci - the associated conduit initiatorei - the endpoint info of the destination
- Throws:
java.io.IOException
setHeaders
protected void setHeaders(org.apache.cxf.message.Message message)
- Cache HTTP headers in message.
- Parameters:
message - the current message
updateResponseHeaders
protected void updateResponseHeaders(org.apache.cxf.message.Message message)
isOneWay
protected boolean isOneWay(org.apache.cxf.message.Message message)
- Parameters:
message - the message under consideration
- Returns:
- true iff the message has been marked as oneway
copyRequestHeaders
protected abstract void copyRequestHeaders(org.apache.cxf.message.Message message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
- Copy the request headers into the message.
- Parameters:
message - the current messageheaders - the current set of headers
getAddressValue
protected static java.lang.String getAddressValue(org.apache.cxf.service.model.EndpointInfo ei)
getBeanName
public java.lang.String getBeanName()
- Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable
getAuthorization
public org.apache.cxf.configuration.security.AuthorizationPolicy getAuthorization()
setAuthorization
public void setAuthorization(org.apache.cxf.configuration.security.AuthorizationPolicy authorization)
getContextMatchStrategy
public java.lang.String getContextMatchStrategy()
setContextMatchStrategy
public void setContextMatchStrategy(java.lang.String contextMatchStrategy)
isFixedParameterOrder
public boolean isFixedParameterOrder()
setFixedParameterOrder
public void setFixedParameterOrder(boolean fixedParameterOrder)
getServer
public HTTPServerPolicy getServer()
setServer
public void setServer(HTTPServerPolicy server)
getSslServer
public org.apache.cxf.configuration.security.SSLServerPolicy getSslServer()
setSslServer
public void setSslServer(org.apache.cxf.configuration.security.SSLServerPolicy sslServer)
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.