| Package | Description |
|---|---|
| com.atlassian.httpclient.api |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Request
An interface for building and executing HTTP requests.
|
interface |
Response
Represents the result of an HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.setContentCharset(java.lang.String contentCharset)
Sets the charset for this object's entity, if any.
|
Message |
Message.setContentType(java.lang.String contentType)
Sets the IANA media type, for the current entity, if any.
|
Message |
Message.setEntity(java.lang.String entity)
Sets this object's entity stream from a string.
|
Message |
Message.setEntityStream(java.io.InputStream entityStream)
Sets this object's entity as an input stream.
|
Message |
Message.setEntityStream(java.io.InputStream entityStream,
java.lang.String charset)
Sets this object's entity as an input stream, encoded with the specified charset.
|
Message |
Message.setHeader(java.lang.String name,
java.lang.String value)
Sets an HTTP header on this object.
|
Message |
Message.setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Copies the specified map of HTTP headers into this object.
|
Copyright © 2012-2013 Atlassian. All Rights Reserved.