Class DefaultRequest
java.lang.Object
com.atlassian.httpclient.apache.httpcomponents.DefaultRequest
- All Implemented Interfaces:
com.atlassian.httpclient.api.Message
,com.atlassian.httpclient.api.Request
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.atlassian.httpclient.api.Request
com.atlassian.httpclient.api.Request.Builder, com.atlassian.httpclient.api.Request.Method
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.httpclient.api.Message
getContentCharset, getContentType, getEntity, getEntityStream, getHeader, getHeaders, hasEntity, hasReadEntity
-
Method Details
-
builder
public static DefaultRequest.DefaultRequestBuilder builder(com.atlassian.httpclient.api.HttpClient httpClient) -
getMethod
public com.atlassian.httpclient.api.Request.Method getMethod()- Specified by:
getMethod
in interfacecom.atlassian.httpclient.api.Request
-
getUri
- Specified by:
getUri
in interfacecom.atlassian.httpclient.api.Request
-
getAccept
- Specified by:
getAccept
in interfacecom.atlassian.httpclient.api.Request
-
getAttribute
- Specified by:
getAttribute
in interfacecom.atlassian.httpclient.api.Request
-
getAttributes
- Specified by:
getAttributes
in interfacecom.atlassian.httpclient.api.Request
-
getContentLength
- Specified by:
getContentLength
in interfacecom.atlassian.httpclient.api.Message
-
isCacheDisabled
public boolean isCacheDisabled()- Specified by:
isCacheDisabled
in interfacecom.atlassian.httpclient.api.Request
-
validate
public com.atlassian.httpclient.api.Request validate() -
getContentType
- Specified by:
getContentType
in interfacecom.atlassian.httpclient.api.Message
-
getContentCharset
- Specified by:
getContentCharset
in interfacecom.atlassian.httpclient.api.Message
-
getEntityStream
- Specified by:
getEntityStream
in interfacecom.atlassian.httpclient.api.Message
- Throws:
IllegalStateException
-
getEntity
- Specified by:
getEntity
in interfacecom.atlassian.httpclient.api.Message
- Throws:
IllegalStateException
IllegalArgumentException
-
hasEntity
public boolean hasEntity()- Specified by:
hasEntity
in interfacecom.atlassian.httpclient.api.Message
-
hasReadEntity
public boolean hasReadEntity()- Specified by:
hasReadEntity
in interfacecom.atlassian.httpclient.api.Message
-
getHeaders
- Specified by:
getHeaders
in interfacecom.atlassian.httpclient.api.Message
-
getHeader
- Specified by:
getHeader
in interfacecom.atlassian.httpclient.api.Message
-