FileDocCategorySizeDatePackage
BasicHttpEntityEnclosingRequest.javaAPI DocAndroid 1.5 API2851Wed May 06 22:41:10 BST 2009org.apache.http.message

BasicHttpEntityEnclosingRequest

public class BasicHttpEntityEnclosingRequest extends BasicHttpRequest implements HttpEntityEnclosingRequest
Basic implementation of a request with an entity that can be modified.
author
Oleg Kalnichevski
version
$Revision: 618017 $
since
4.0

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 booleanexpectContinue()

        Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE);
        return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue());
    
public org.apache.http.HttpEntitygetEntity()

        return this.entity;
    
public voidsetEntity(org.apache.http.HttpEntity entity)

        this.entity = entity;