FileDocCategorySizeDatePackage
HttpEntityEnclosingRequest.javaAPI DocAndroid 1.5 API2116Wed May 06 22:41:10 BST 2009org.apache.http

HttpEntityEnclosingRequest

public interface HttpEntityEnclosingRequest implements HttpRequest
A request with an entity.
author
Oleg Kalnichevski
version
$Revision: 618017 $
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public booleanexpectContinue()
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.

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

public org.apache.http.HttpEntitygetEntity()

public voidsetEntity(org.apache.http.HttpEntity entity)
Hands the entity to the request.

param
entity the entity to send.