|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.transport.nhttp.Axis2HttpRequest
public class Axis2HttpRequest
Represents an outgoing Axis2 HTTP/s request. It holds the EPR of the destination, the Axis2 MessageContext to be sent, an HttpHost object which captures information about the destination, and a Pipe used to write the message stream to the destination
| Constructor Summary | |
|---|---|
Axis2HttpRequest(EndpointReference epr,
org.apache.http.HttpHost httpHost,
MessageContext msgContext)
|
|
| Method Summary | |
|---|---|
EndpointReference |
getEpr()
|
org.apache.http.HttpHost |
getHttpHost()
|
MessageContext |
getMsgContext()
|
org.apache.http.HttpRequest |
getRequest()
Create and return a new HttpPost request to the destination EPR |
java.nio.channels.ReadableByteChannel |
getSourceChannel()
Return the source channel of the pipe that bridges the serialized output to the socket |
void |
streamMessageContents()
Start streaming the message into the Pipe, so that the contents could be read off the source channel returned by getSourceChannel() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Axis2HttpRequest(EndpointReference epr,
org.apache.http.HttpHost httpHost,
MessageContext msgContext)
| Method Detail |
|---|
public EndpointReference getEpr()
public org.apache.http.HttpHost getHttpHost()
public MessageContext getMsgContext()
public org.apache.http.HttpRequest getRequest()
throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ReadableByteChannel getSourceChannel()
public void streamMessageContents()
throws AxisFault
AxisFault - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||