public class Axis2HttpRequest extends Object
Constructor and Description |
---|
Axis2HttpRequest(org.apache.axis2.addressing.EndpointReference epr,
org.apache.http.HttpHost httpHost,
org.apache.axis2.context.MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getEndpointURLPrefix() |
org.apache.axis2.addressing.EndpointReference |
getEpr() |
org.apache.http.HttpHost |
getHttpHost() |
org.apache.axis2.context.MessageContext |
getMsgContext() |
org.apache.http.HttpRequest |
getRequest()
Create and return a new HttpPost request to the destination EPR
|
int |
getTimeout() |
boolean |
isCompleted() |
boolean |
isSendingCompleted() |
void |
setCompleted(boolean completed) |
void |
setEndpointURLPrefix(String endpointURLPrefix) |
void |
setOutputBuffer(org.apache.http.nio.util.ContentOutputBuffer outputBuffer) |
void |
setReadyToStream(boolean readyToStream) |
void |
setSendingCompleted(boolean sendingCompleted) |
void |
setTimeout(int timeout) |
void |
streamMessageContents()
Start streaming the message into the Pipe, so that the contents could be read off the source
channel returned by getSourceChannel()
|
String |
toString() |
public Axis2HttpRequest(org.apache.axis2.addressing.EndpointReference epr, org.apache.http.HttpHost httpHost, org.apache.axis2.context.MessageContext msgContext)
public void setReadyToStream(boolean readyToStream)
public void setOutputBuffer(org.apache.http.nio.util.ContentOutputBuffer outputBuffer)
public void clear()
public org.apache.axis2.addressing.EndpointReference getEpr()
public org.apache.http.HttpHost getHttpHost()
public org.apache.axis2.context.MessageContext getMsgContext()
public int getTimeout()
public void setTimeout(int timeout)
public String getEndpointURLPrefix()
public void setEndpointURLPrefix(String endpointURLPrefix)
public org.apache.http.HttpRequest getRequest() throws IOException
IOException
- in error retrieving the HttpRequest
public void streamMessageContents() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
- on errorpublic boolean isCompleted()
public void setCompleted(boolean completed)
public boolean isSendingCompleted()
public void setSendingCompleted(boolean sendingCompleted)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.