Android
org.apache.http
public interface

org.apache.http.HttpEntityEnclosingRequest

org.apache.http.HttpEntityEnclosingRequest HttpRequest

A request with an entity.

Known Indirect Subclasses

Summary

Public Methods

          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 interface org.apache.http.HttpMessage
Methods inherited from interface org.apache.http.HttpRequest

Details

Public Methods

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.

Returns

  • true if the expect continue handshake should be used, false if not.

public HttpEntity getEntity()

public void setEntity(HttpEntity entity)

Hands the entity to the request.

Parameters

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