|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectHTTPDestinationConfigBean
org.apache.cxf.transport.http.AbstractHTTPDestination
org.apache.cxf.transport.http.JettyHTTPDestination
public class JettyHTTPDestination
| Nested Class Summary | |
|---|---|
protected class |
JettyHTTPDestination.BackChannelConduit
Backchannel conduit. |
| Field Summary | |
|---|---|
protected ServerEngine |
alternateEngine
|
protected static java.lang.String |
ANONYMOUS_ADDRESS
|
protected ServerEngine |
engine
|
static java.lang.String |
HTTP_REQUEST
|
static java.lang.String |
HTTP_RESPONSE
|
protected org.apache.cxf.transport.MessageObserver |
incomingObserver
|
| Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
|---|
bus, conduitInitiator, endpointInfo, name, nurl, reference |
| Constructor Summary | |
|---|---|
JettyHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo endpointInfo)
Constructor, using Jetty server engine. |
|
JettyHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo endpointInfo,
ServerEngine eng)
Constructor, allowing subsititution of server engine. |
|
| Method Summary | |
|---|---|
protected 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. |
protected void |
copyResponseHeaders(org.apache.cxf.message.Message message,
org.mortbay.http.HttpResponse response)
Copy the response headers into the response. |
protected void |
doService(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
|
protected java.io.OutputStream |
flushHeaders(org.apache.cxf.message.Message outMessage)
|
org.apache.cxf.transport.Conduit |
getBackChannel(org.apache.cxf.message.Message inMessage,
org.apache.cxf.message.Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType address)
Retreive a back-channel Conduit, which must be policy-compatible with the current Message and associated Destination. |
protected void |
retrieveEngine()
|
protected void |
serviceRequest(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
|
void |
setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
Register a message observer for incoming messages. |
void |
shutdown()
Shutdown the Destination, i.e. |
| Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
|---|
getAddress, getAddressValue, getBeanName, isOneWay, setHeaders, updateResponseHeaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_REQUEST
public static final java.lang.String HTTP_RESPONSE
protected static final java.lang.String ANONYMOUS_ADDRESS
protected ServerEngine engine
protected ServerEngine alternateEngine
protected org.apache.cxf.transport.MessageObserver incomingObserver
| Constructor Detail |
|---|
public JettyHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo endpointInfo)
throws java.io.IOException
b - the associated Busci - the associated conduit initiatorendpointInfo - the endpoint info of the destination
java.io.IOException
public JettyHTTPDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo endpointInfo,
ServerEngine eng)
throws java.io.IOException
b - the associated Busci - the associated conduit initiatorendpointInfo - the endpoint info of the destinationeng - the server engine
java.io.IOException| Method Detail |
|---|
protected void retrieveEngine()
public void setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
observer - the observer to notify on receipt of incoming
public org.apache.cxf.transport.Conduit getBackChannel(org.apache.cxf.message.Message inMessage,
org.apache.cxf.message.Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType address)
throws java.io.IOException
inMessage - the current inbound message (null to indicate a
disassociated back-channel)partialResponse - in the decoupled case, this is expected to be the
outbound Message to be sent over the in-built back-channel.address - the backchannel address (null to indicate anonymous)
java.io.IOExceptionpublic void shutdown()
protected void copyRequestHeaders(org.apache.cxf.message.Message message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
copyRequestHeaders in class AbstractHTTPDestinationmessage - the current messageheaders - the current set of headers
protected void copyResponseHeaders(org.apache.cxf.message.Message message,
org.mortbay.http.HttpResponse response)
message - the current messageheaders - the current set of headers
protected void doService(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
throws java.io.IOException
java.io.IOException
protected void serviceRequest(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
throws java.io.IOException
java.io.IOException
protected java.io.OutputStream flushHeaders(org.apache.cxf.message.Message outMessage)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||