org.apache.cxf.transport.http
Class JettyHTTPDestination.BackChannelConduit

java.lang.Object
  extended by org.apache.cxf.transport.http.JettyHTTPDestination.BackChannelConduit
All Implemented Interfaces:
org.apache.cxf.transport.Conduit, org.apache.cxf.transport.Observable
Enclosing class:
JettyHTTPDestination

protected class JettyHTTPDestination.BackChannelConduit
extends java.lang.Object
implements org.apache.cxf.transport.Conduit

Backchannel conduit.


Field Summary
protected  org.mortbay.http.HttpResponse response
           
protected  org.apache.cxf.ws.addressing.EndpointReferenceType target
           
 
Method Summary
 void close()
          Close the conduit
 void close(org.apache.cxf.message.Message msg)
           
 org.apache.cxf.transport.Destination getBackChannel()
          Retreive the back-channel Destination.
 org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
           
 void send(org.apache.cxf.message.Message message)
          Send an outbound message, assumed to contain all the name-value mappings of the corresponding input message (if any).
 void setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
          Register a message observer for incoming messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

response

protected org.mortbay.http.HttpResponse response

target

protected org.apache.cxf.ws.addressing.EndpointReferenceType target
Method Detail

close

public void close(org.apache.cxf.message.Message msg)
           throws java.io.IOException
Specified by:
close in interface org.apache.cxf.transport.Conduit
Throws:
java.io.IOException

setMessageObserver

public void setMessageObserver(org.apache.cxf.transport.MessageObserver observer)
Register a message observer for incoming messages.

Specified by:
setMessageObserver in interface org.apache.cxf.transport.Observable
Parameters:
observer - the observer to notify on receipt of incoming

send

public void send(org.apache.cxf.message.Message message)
          throws java.io.IOException
Send an outbound message, assumed to contain all the name-value mappings of the corresponding input message (if any).

Specified by:
send in interface org.apache.cxf.transport.Conduit
Parameters:
message - the message to be sent.
Throws:
java.io.IOException

getTarget

public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
Specified by:
getTarget in interface org.apache.cxf.transport.Conduit
Returns:
the reference associated with the target Destination

getBackChannel

public org.apache.cxf.transport.Destination getBackChannel()
Retreive the back-channel Destination.

Specified by:
getBackChannel in interface org.apache.cxf.transport.Conduit
Returns:
the backchannel Destination (or null if the backchannel is built-in)

close

public void close()
Close the conduit

Specified by:
close in interface org.apache.cxf.transport.Conduit


Copyright © 2006 Apache Software Foundation. All Rights Reserved.