Package cronapi
Class HttpWithBody
- java.lang.Object
-
- org.apache.http.message.AbstractHttpMessage
-
- org.apache.http.client.methods.AbstractExecutionAwareRequest
-
- org.apache.http.client.methods.HttpRequestBase
-
- org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
- cronapi.HttpWithBody
-
- All Implemented Interfaces:
Cloneable,org.apache.http.client.methods.AbortableHttpRequest,org.apache.http.client.methods.Configurable,org.apache.http.client.methods.HttpExecutionAware,org.apache.http.client.methods.HttpUriRequest,org.apache.http.HttpEntityEnclosingRequest,org.apache.http.HttpMessage,org.apache.http.HttpRequest
public class HttpWithBody extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
-
Constructor Summary
Constructors Constructor Description HttpWithBody(org.apache.http.client.methods.HttpRequestBase http, String methodName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMethod()protected voidremakeURI()voidsetEntity(org.apache.http.HttpEntity entity)-
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity
-
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
-
Methods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
-
Methods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
HttpWithBody
public HttpWithBody(org.apache.http.client.methods.HttpRequestBase http, String methodName)
-
-
Method Detail
-
setEntity
public void setEntity(org.apache.http.HttpEntity entity)
- Specified by:
setEntityin interfaceorg.apache.http.HttpEntityEnclosingRequest- Overrides:
setEntityin classorg.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
remakeURI
protected void remakeURI()
-
getMethod
public String getMethod()
- Specified by:
getMethodin interfaceorg.apache.http.client.methods.HttpUriRequest- Specified by:
getMethodin classorg.apache.http.client.methods.HttpRequestBase
-
-