public class AbstractWebApiResponse<T> extends AbstractWebResponse
AbstractWebApiResponse class.
Constructor and Description |
---|
AbstractWebApiResponse(org.asynchttpclient.Response response)
Constructor for AbstractWebApiResponse.
|
Modifier and Type | Method and Description |
---|---|
org.asynchttpclient.Response |
getMessage()
getMessage.
|
T |
getProcessedContent()
Returns the parsed content of the response body.
|
<V extends T> |
setProcessedContent(V processedContent)
Setter for the field
processedContent . |
getStatus
getAddress, getRequest, getResult, setAddress, setRequest
buildToString, equals, hashCode, id, toString
public AbstractWebApiResponse(org.asynchttpclient.Response response)
Constructor for AbstractWebApiResponse.
response
- a Response
objectpublic T getProcessedContent()
public <V extends T> void setProcessedContent(V processedContent)
Setter for the field processedContent
.
V
- a V classprocessedContent
- a V objectpublic org.asynchttpclient.Response getMessage()
getMessage.
getMessage
in class AbstractWebResponse
Response
objectCopyright © 2016–2024. All rights reserved.