com.atlassian.httpclient.api
Interface EntityBuilder.Entity

Enclosing interface:
EntityBuilder

public static interface EntityBuilder.Entity

Represents a built entity consisting of a set of HTTP headers and an InputStream.


Method Summary
 java.util.Map<java.lang.String,java.lang.String> getHeaders()
          Gets all HTTP headers for the represented entity.
 java.io.InputStream getInputStream()
          Gets the input stream for the built entity.
 

Method Detail

getHeaders

java.util.Map<java.lang.String,java.lang.String> getHeaders()
Gets all HTTP headers for the represented entity. At a minimum, this should include an appropriate "Content-Type" header.

Returns:
A map of all HTTP headers for the entity

getInputStream

java.io.InputStream getInputStream()
Gets the input stream for the built entity.

Returns:
An entity input stream


Copyright © 2012 Atlassian. All Rights Reserved.