| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultRequest.DefaultRequestBuilder |
Request.Builder, Request.Method| Modifier and Type | Method and Description |
|---|---|
static DefaultRequest.DefaultRequestBuilder |
builder(HttpClient httpClient) |
String |
getAccept() |
String |
getAttribute(String name) |
Map<String,String> |
getAttributes() |
String |
getContentCharset() |
io.atlassian.fugue.Option<Long> |
getContentLength() |
String |
getContentType() |
String |
getEntity() |
InputStream |
getEntityStream() |
String |
getHeader(String name) |
Map<String,String> |
getHeaders() |
Request.Method |
getMethod() |
URI |
getUri() |
boolean |
hasEntity() |
boolean |
hasReadEntity() |
boolean |
isCacheDisabled() |
Request |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentCharset, getContentType, getEntity, getEntityStream, getHeader, getHeaders, hasEntity, hasReadEntitypublic static DefaultRequest.DefaultRequestBuilder builder(HttpClient httpClient)
public Request.Method getMethod()
public String getAttribute(String name)
getAttribute in interface Requestpublic Map<String,String> getAttributes()
getAttributes in interface Requestpublic io.atlassian.fugue.Option<Long> getContentLength()
getContentLength in interface Messagepublic boolean isCacheDisabled()
isCacheDisabled in interface Requestpublic Request validate()
public String getContentType()
getContentType in interface Messagepublic String getContentCharset()
getContentCharset in interface Messagepublic InputStream getEntityStream() throws IllegalStateException
getEntityStream in interface MessageIllegalStateExceptionpublic String getEntity() throws IllegalStateException, IllegalArgumentException
getEntity in interface MessageIllegalStateExceptionIllegalArgumentExceptionpublic boolean hasReadEntity()
hasReadEntity in interface Messagepublic Map<String,String> getHeaders()
getHeaders in interface MessageCopyright © 2012–2018 Atlassian. All rights reserved.