org.apache.cxf.transport.http
Class AbstractHTTPDestination
java.lang.Object
HTTPDestinationConfigBean
org.apache.cxf.transport.http.AbstractHTTPDestination
- All Implemented Interfaces:
- org.apache.cxf.transport.Destination, org.apache.cxf.transport.Observable
- Direct Known Subclasses:
- JettyHTTPDestination
public abstract class AbstractHTTPDestination
- extends HTTPDestinationConfigBean
- implements org.apache.cxf.transport.Destination
Common base for HTTP Destination implementations.
|
Field Summary |
protected org.apache.cxf.Bus |
bus
|
protected org.apache.cxf.transport.ConduitInitiator |
conduitInitiator
|
protected org.apache.cxf.service.model.EndpointInfo |
endpointInfo
|
protected java.lang.String |
name
|
protected java.net.URL |
nurl
|
protected org.apache.cxf.ws.addressing.EndpointReferenceType |
reference
|
|
Constructor Summary |
AbstractHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo ei)
Constructor |
|
Method Summary |
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. |
org.apache.cxf.ws.addressing.EndpointReferenceType |
getAddress()
|
protected java.lang.String |
getAddressValue()
|
java.lang.String |
getBeanName()
|
protected boolean |
isOneWay(org.apache.cxf.message.Message message)
|
protected void |
setHeaders(org.apache.cxf.message.Message message)
Cache HTTP headers in message. |
protected void |
updateResponseHeaders(org.apache.cxf.message.Message message)
|
| 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 |
getBackChannel, shutdown |
| Methods inherited from interface org.apache.cxf.transport.Observable |
setMessageObserver |
bus
protected final org.apache.cxf.Bus bus
conduitInitiator
protected final org.apache.cxf.transport.ConduitInitiator conduitInitiator
endpointInfo
protected final org.apache.cxf.service.model.EndpointInfo endpointInfo
reference
protected final org.apache.cxf.ws.addressing.EndpointReferenceType reference
name
protected java.lang.String name
nurl
protected java.net.URL nurl
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
getBeanName
public java.lang.String getBeanName()
getAddress
public org.apache.cxf.ws.addressing.EndpointReferenceType getAddress()
- Specified by:
getAddress in interface org.apache.cxf.transport.Destination
- Returns:
- the reference associated with this Destination
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 final java.lang.String getAddressValue()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.