Android
org.apache.http.client.methods
public abstract class

org.apache.http.client.methods.HttpEntityEnclosingRequestBase

java.lang.Object
org.apache.http.message.AbstractHttpMessage HttpMessage
org.apache.http.client.methods.HttpRequestBase Cloneable AbortableHttpRequest HttpUriRequest
org.apache.http.client.methods.HttpEntityEnclosingRequestBase HttpEntityEnclosingRequest

Basic implementation of an HTTP request that can be modified.

Known Direct Subclasses

Summary

Fields inherited from class org.apache.http.message.AbstractHttpMessage

Public Constructors

            HttpEntityEnclosingRequestBase()

Public Methods

          Object  clone()
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
          boolean  expectContinue()
Tells if this request should use the expect-continue handshake.
          HttpEntity  getEntity()
          void  setEntity(HttpEntity entity)
Hands the entity to the request.
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
Methods inherited from class org.apache.http.message.AbstractHttpMessage
Methods inherited from class java.lang.Object
Methods inherited from interface org.apache.http.HttpEntityEnclosingRequest
Methods inherited from interface org.apache.http.HttpMessage
Methods inherited from interface org.apache.http.HttpRequest
Methods inherited from interface org.apache.http.client.methods.AbortableHttpRequest
Methods inherited from interface org.apache.http.client.methods.HttpUriRequest

Details

Public Constructors

public HttpEntityEnclosingRequestBase()

Public Methods

public Object clone()

Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.

Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.

public boolean expectContinue()

Tells if this request should use the expect-continue handshake. The expect continue handshake gives the server a chance to decide whether to accept the entity enclosing request before the possibly lengthy entity is sent across the wire.

public HttpEntity getEntity()

public void setEntity(HttpEntity entity)

Hands the entity to the request.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48