|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.http.AbstractHTTPDestination
org.apache.cxf.transport.http.JettyHTTPDestination
public class JettyHTTPDestination
| Nested Class Summary | |
|---|---|
protected class |
JettyHTTPDestination.BackChannelConduit
Backchannel conduit. |
| Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination |
|---|
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit |
| Field Summary | |
|---|---|
protected ServerEngine |
alternateEngine
|
protected ServerEngine |
engine
|
static java.lang.String |
HTTP_REQUEST
|
static java.lang.String |
HTTP_RESPONSE
|
| Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
|---|
authorization, bus, conduitInitiator, contextMatchStrategy, fixedParameterOrder, name, nurl, server, sslServer |
| Fields inherited from class org.apache.cxf.transport.AbstractDestination |
|---|
endpointInfo, incomingObserver, 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 |
activate()
Activate receipt of incoming messages. |
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 |
deactivate()
Deactivate receipt of incoming messages. |
protected void |
doService(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
|
protected java.io.OutputStream |
flushHeaders(org.apache.cxf.message.Message outMessage)
|
protected org.apache.cxf.transport.ConduitInitiator |
getConduitInitiator()
|
protected org.apache.cxf.transport.Conduit |
getInbuiltBackChannel(org.apache.cxf.message.Message inMessage)
|
protected java.util.logging.Logger |
getLogger()
|
protected boolean |
markPartialResponse(org.apache.cxf.message.Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType decoupledTarget)
Mark message as a partial message. |
protected void |
retrieveEngine()
Post-configure retreival of server engine. |
protected void |
serviceRequest(org.mortbay.http.HttpRequest req,
org.mortbay.http.HttpResponse resp)
|
| Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
|---|
getAddressValue, getAuthorization, getBeanName, getContextMatchStrategy, getServer, getSslServer, isFixedParameterOrder, isOneWay, setAuthorization, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setServer, setSslServer, updateResponseHeaders |
| Methods inherited from class org.apache.cxf.transport.AbstractDestination |
|---|
getAddress, getBackChannel, getMessageObserver, getTargetReference, setMessageObserver, shutdown |
| 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 ServerEngine engine
protected ServerEngine alternateEngine
| 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 java.util.logging.Logger getLogger()
getLogger in class org.apache.cxf.transport.AbstractDestinationprotected void retrieveEngine()
protected void activate()
activate in class org.apache.cxf.transport.AbstractDestinationprotected void deactivate()
deactivate in class org.apache.cxf.transport.AbstractDestinationprotected org.apache.cxf.transport.Conduit getInbuiltBackChannel(org.apache.cxf.message.Message inMessage)
getInbuiltBackChannel in class org.apache.cxf.transport.AbstractDestinationinMessage - the incoming message
protected boolean markPartialResponse(org.apache.cxf.message.Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType decoupledTarget)
markPartialResponse in class org.apache.cxf.transport.AbstractDestinationpartialResponse - the partial response messagethe - decoupled target
protected org.apache.cxf.transport.ConduitInitiator getConduitInitiator()
getConduitInitiator in class org.apache.cxf.transport.AbstractDestination
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 | |||||||||