BasicHttpEntityEnclosingRequestpublic class BasicHttpEntityEnclosingRequest extends BasicHttpRequest implements HttpEntityEnclosingRequestBasic implementation of a request with an entity that can be modified. |
Fields Summary |
---|
private HttpEntity | entity |
Constructors Summary |
---|
public BasicHttpEntityEnclosingRequest(String method, String uri)
super(method, uri);
| public BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver)
this(new BasicRequestLine(method, uri, ver));
| public BasicHttpEntityEnclosingRequest(RequestLine requestline)
super(requestline);
|
Methods Summary |
---|
public boolean | expectContinue()
Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE);
return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue());
| public org.apache.http.HttpEntity | getEntity()
return this.entity;
| public void | setEntity(org.apache.http.HttpEntity entity)
this.entity = entity;
|
|