FileDocCategorySizeDatePackage
HttpEntityEnclosingRequestBase.javaAPI DocAndroid 1.5 API2810Wed May 06 22:41:10 BST 2009org.apache.http.client.methods

HttpEntityEnclosingRequestBase

public abstract class HttpEntityEnclosingRequestBase extends HttpRequestBase implements HttpEntityEnclosingRequest
Basic implementation of an HTTP request that can be modified.
author
Oleg Kalnichevski
version
$Revision: 674186 $
since
4.0

Fields Summary
private HttpEntity
entity
Constructors Summary
public HttpEntityEnclosingRequestBase()

        super();
    
Methods Summary
public java.lang.Objectclone()

        HttpEntityEnclosingRequestBase clone = 
            (HttpEntityEnclosingRequestBase) super.clone();
        if (this.entity != null) {
            clone.entity = (HttpEntity) CloneUtils.clone(this.entity);
        }
        return clone;
    
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;