Class DefaultResponse
java.lang.Object
com.atlassian.httpclient.apache.httpcomponents.DefaultResponse
- All Implemented Interfaces:
 com.atlassian.httpclient.api.Message,com.atlassian.httpclient.api.Response
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.atlassian.httpclient.api.Response
com.atlassian.httpclient.api.Response.Builder - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultResponse(Headers headers, InputStream entityStream, io.atlassian.fugue.Option<Long> maxEntitySize, int statusCode, String statusText)  - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()io.atlassian.fugue.Option<Long> intbooleanbooleanbooleanbooleanbooleanbooleanbooleanisError()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisOk()booleanbooleanbooleanbooleanbooleanbooleancom.atlassian.httpclient.api.Messagevalidate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.httpclient.api.Message
getContentCharset, getContentType, getEntity, getEntityStream, getHeader, getHeaders, hasEntity, hasReadEntity 
- 
Constructor Details
- 
DefaultResponse
public DefaultResponse(Headers headers, InputStream entityStream, io.atlassian.fugue.Option<Long> maxEntitySize, int statusCode, String statusText)  
 - 
 - 
Method Details
- 
builder
 - 
getStatusCode
public int getStatusCode()- Specified by:
 getStatusCodein interfacecom.atlassian.httpclient.api.Response
 - 
getStatusText
- Specified by:
 getStatusTextin interfacecom.atlassian.httpclient.api.Response
 - 
isInformational
public boolean isInformational()- Specified by:
 isInformationalin interfacecom.atlassian.httpclient.api.Response
 - 
isSuccessful
public boolean isSuccessful()- Specified by:
 isSuccessfulin interfacecom.atlassian.httpclient.api.Response
 - 
isOk
public boolean isOk()- Specified by:
 isOkin interfacecom.atlassian.httpclient.api.Response
 - 
isCreated
public boolean isCreated()- Specified by:
 isCreatedin interfacecom.atlassian.httpclient.api.Response
 - 
isNoContent
public boolean isNoContent()- Specified by:
 isNoContentin interfacecom.atlassian.httpclient.api.Response
 - 
isRedirection
public boolean isRedirection()- Specified by:
 isRedirectionin interfacecom.atlassian.httpclient.api.Response
 - 
isSeeOther
public boolean isSeeOther()- Specified by:
 isSeeOtherin interfacecom.atlassian.httpclient.api.Response
 - 
isNotModified
public boolean isNotModified()- Specified by:
 isNotModifiedin interfacecom.atlassian.httpclient.api.Response
 - 
isClientError
public boolean isClientError()- Specified by:
 isClientErrorin interfacecom.atlassian.httpclient.api.Response
 - 
isBadRequest
public boolean isBadRequest()- Specified by:
 isBadRequestin interfacecom.atlassian.httpclient.api.Response
 - 
isUnauthorized
public boolean isUnauthorized()- Specified by:
 isUnauthorizedin interfacecom.atlassian.httpclient.api.Response
 - 
isForbidden
public boolean isForbidden()- Specified by:
 isForbiddenin interfacecom.atlassian.httpclient.api.Response
 - 
isNotFound
public boolean isNotFound()- Specified by:
 isNotFoundin interfacecom.atlassian.httpclient.api.Response
 - 
isConflict
public boolean isConflict()- Specified by:
 isConflictin interfacecom.atlassian.httpclient.api.Response
 - 
isServerError
public boolean isServerError()- Specified by:
 isServerErrorin interfacecom.atlassian.httpclient.api.Response
 - 
isInternalServerError
public boolean isInternalServerError()- Specified by:
 isInternalServerErrorin interfacecom.atlassian.httpclient.api.Response
 - 
isError
public boolean isError()- Specified by:
 isErrorin interfacecom.atlassian.httpclient.api.Response
 - 
isNotSuccessful
public boolean isNotSuccessful()- Specified by:
 isNotSuccessfulin interfacecom.atlassian.httpclient.api.Response
 - 
getContentLength
- Specified by:
 getContentLengthin interfacecom.atlassian.httpclient.api.Message
 - 
getContentType
- Specified by:
 getContentTypein interfacecom.atlassian.httpclient.api.Message
 - 
getContentCharset
- Specified by:
 getContentCharsetin interfacecom.atlassian.httpclient.api.Message
 - 
getAccept
 - 
getEntityStream
- Specified by:
 getEntityStreamin interfacecom.atlassian.httpclient.api.Message- Throws:
 IllegalStateException
 - 
getEntity
- Specified by:
 getEntityin interfacecom.atlassian.httpclient.api.Message- Throws:
 IllegalStateExceptionIllegalArgumentException
 - 
hasEntity
public boolean hasEntity()- Specified by:
 hasEntityin interfacecom.atlassian.httpclient.api.Message
 - 
hasReadEntity
public boolean hasReadEntity()- Specified by:
 hasReadEntityin interfacecom.atlassian.httpclient.api.Message
 - 
getHeaders
- Specified by:
 getHeadersin interfacecom.atlassian.httpclient.api.Message
 - 
getHeader
- Specified by:
 getHeaderin interfacecom.atlassian.httpclient.api.Message
 - 
validate
public com.atlassian.httpclient.api.Message validate() 
 -