|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.transport.AbstractConduit
org.apache.cxf.transport.http.HTTPConduit
public class HTTPConduit
HTTP Conduit implementation.
| Nested Class Summary | |
|---|---|
protected class |
HTTPConduit.InterposedMessageObserver
Used to set appropriate message properties, exchange etc. |
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_CONNECTION
|
static java.lang.String |
HTTP_REQUEST
|
static java.lang.String |
HTTP_RESPONSE
|
| Fields inherited from class org.apache.cxf.transport.AbstractConduit |
|---|
incomingObserver, target |
| Constructor Summary | |
|---|---|
HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei)
Constructor |
|
HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t)
Constructor |
|
HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
URLConnectionFactory factory)
Constructor, allowing subsititution of connnection factory and decoupled engine. |
|
| Method Summary | |
|---|---|
void |
close()
Close the conduit |
protected void |
flushHeaders(org.apache.cxf.message.Message message)
Flush the headers onto the output stream. |
org.apache.cxf.configuration.security.AuthorizationPolicy |
getAuthorization()
|
org.apache.cxf.transport.Destination |
getBackChannel()
Retreive the back-channel Destination. |
java.lang.String |
getBeanName()
|
HTTPClientPolicy |
getClient()
|
protected org.apache.cxf.transport.MessageObserver |
getDecoupledObserver()
|
protected java.util.logging.Logger |
getLogger()
|
org.apache.cxf.configuration.security.AuthorizationPolicy |
getProxyAuthorization()
|
org.apache.cxf.configuration.security.SSLClientPolicy |
getSslClient()
|
protected java.net.URL |
getURL()
|
protected void |
retrieveConnectionFactory()
Post-configure retreival of connection factory. |
void |
send(org.apache.cxf.message.Message message)
Send an outbound message. |
void |
setAuthorization(org.apache.cxf.configuration.security.AuthorizationPolicy authorization)
|
void |
setClient(HTTPClientPolicy client)
|
void |
setProxyAuthorization(org.apache.cxf.configuration.security.AuthorizationPolicy proxyAuthorization)
|
void |
setSslClient(org.apache.cxf.configuration.security.SSLClientPolicy sslClient)
|
| Methods inherited from class org.apache.cxf.transport.AbstractConduit |
|---|
close, getMessageObserver, getTarget, setMessageObserver |
| 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
public static final java.lang.String HTTP_CONNECTION
| Constructor Detail |
|---|
public HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei)
throws java.io.IOException
b - the associated Busei - the endpoint info of the initiator
java.io.IOException
public HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t)
throws java.io.IOException
b - the associated Busei - the endpoint info of the initiatort - the endpoint reference of the target
java.io.IOException
public HTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
URLConnectionFactory factory)
throws java.io.IOException
b - the associated Busei - the endpoint info of the initiatort - the endpoint reference of the targetfactory - the URL connection factory
java.io.IOException| Method Detail |
|---|
protected java.util.logging.Logger getLogger()
getLogger in class org.apache.cxf.transport.AbstractConduitprotected void retrieveConnectionFactory()
public void send(org.apache.cxf.message.Message message)
throws java.io.IOException
send in interface org.apache.cxf.transport.Conduitmessage - the message to be sent.
java.io.IOExceptionpublic org.apache.cxf.transport.Destination getBackChannel()
getBackChannel in interface org.apache.cxf.transport.ConduitgetBackChannel in class org.apache.cxf.transport.AbstractConduitpublic void close()
close in interface org.apache.cxf.transport.Conduitclose in class org.apache.cxf.transport.AbstractConduitprotected java.net.URL getURL()
protected void flushHeaders(org.apache.cxf.message.Message message)
throws java.io.IOException
message - the outbound message
java.io.IOExceptionprotected org.apache.cxf.transport.MessageObserver getDecoupledObserver()
public java.lang.String getBeanName()
getBeanName in interface org.apache.cxf.configuration.Configurablepublic org.apache.cxf.configuration.security.AuthorizationPolicy getAuthorization()
public void setAuthorization(org.apache.cxf.configuration.security.AuthorizationPolicy authorization)
public HTTPClientPolicy getClient()
public void setClient(HTTPClientPolicy client)
public org.apache.cxf.configuration.security.AuthorizationPolicy getProxyAuthorization()
public void setProxyAuthorization(org.apache.cxf.configuration.security.AuthorizationPolicy proxyAuthorization)
public org.apache.cxf.configuration.security.SSLClientPolicy getSslClient()
public void setSslClient(org.apache.cxf.configuration.security.SSLClientPolicy sslClient)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||