org.apache.cxf.transport.servlet
Class ServletDestination

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractDestination
          extended by org.apache.cxf.transport.AbstractMultiplexDestination
              extended by org.apache.cxf.transport.http.AbstractHTTPDestination
                  extended by org.apache.cxf.transport.servlet.ServletDestination
All Implemented Interfaces:
org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, org.apache.cxf.transport.MultiplexDestination, org.apache.cxf.transport.Observable, org.apache.cxf.ws.policy.Assertor

public class ServletDestination
extends AbstractHTTPDestination


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
AbstractHTTPDestination.BackChannelConduit
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit
 
Field Summary
 
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
bus, conduitInitiator, contextMatchStrategy, fixedParameterOrder, HTTP_CONTEXT, HTTP_REQUEST, HTTP_RESPONSE, multiplexWithAddress, PROTOCOL_HEADERS_CONTENT_TYPE, server
 
Fields inherited from class org.apache.cxf.transport.AbstractDestination
endpointInfo, reference
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
ServletDestination(org.apache.cxf.Bus b, org.apache.cxf.transport.ConduitInitiator ci, org.apache.cxf.service.model.EndpointInfo ei)
          Constructor, allowing subsititution of configuration.
 
Method Summary
protected  void copyResponseHeaders(org.apache.cxf.message.Message message, javax.servlet.http.HttpServletResponse response)
          Copy the response headers into the response.
protected  void doMessage(org.apache.cxf.message.MessageImpl inMessage)
           
 org.apache.cxf.service.model.EndpointInfo getEndpointInfo()
           
protected  java.util.logging.Logger getLogger()
           
 org.apache.cxf.transport.MessageObserver getMessageObserver()
           
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
assertMessage, canAssert, contextMatchOnExact, copyRequestHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getContextMatchStrategy, getId, getInbuiltBackChannel, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, markPartialResponse, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setMultiplexWithAddress, setServer, updateResponseHeaders
 
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getConduitInitiator, shutdown
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getTargetReference, getTargetReference, setMessageObserver
 
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
getAddress, getBackChannel, shutdown
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Constructor Detail

ServletDestination

public ServletDestination(org.apache.cxf.Bus b,
                          org.apache.cxf.transport.ConduitInitiator ci,
                          org.apache.cxf.service.model.EndpointInfo ei)
                   throws java.io.IOException
Constructor, allowing subsititution of configuration.

Parameters:
b - the associated Bus
ci - the associated conduit initiator
ei - the endpoint info of the destination
cfg - the configuration
Throws:
java.io.IOException
Method Detail

getLogger

protected java.util.logging.Logger getLogger()
Specified by:
getLogger in class org.apache.cxf.transport.AbstractObservable

copyResponseHeaders

protected void copyResponseHeaders(org.apache.cxf.message.Message message,
                                   javax.servlet.http.HttpServletResponse response)
Copy the response headers into the response.

Overrides:
copyResponseHeaders in class AbstractHTTPDestination
Parameters:
message - the current message
headers - the current set of headers

doMessage

protected void doMessage(org.apache.cxf.message.MessageImpl inMessage)
                  throws java.io.IOException
Throws:
java.io.IOException

getMessageObserver

public org.apache.cxf.transport.MessageObserver getMessageObserver()
Specified by:
getMessageObserver in interface org.apache.cxf.transport.Destination
Overrides:
getMessageObserver in class org.apache.cxf.transport.AbstractObservable

getEndpointInfo

public org.apache.cxf.service.model.EndpointInfo getEndpointInfo()


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.