public class HttpResponseDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<HttpResponse>
Constructor and Description |
---|
HttpResponseDTO() |
HttpResponseDTO(HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
buildObject() |
BodyWithContentTypeDTO |
getBody() |
ConnectionOptionsDTO |
getConnectionOptions() |
Cookies |
getCookies() |
DelayDTO |
getDelay() |
Headers |
getHeaders() |
String |
getReasonPhrase() |
Integer |
getStatusCode() |
HttpResponseDTO |
setBody(BodyWithContentTypeDTO body) |
HttpResponseDTO |
setConnectionOptions(ConnectionOptionsDTO connectionOptions) |
HttpResponseDTO |
setCookies(Cookies cookies) |
HttpResponseDTO |
setDelay(DelayDTO delay) |
HttpResponseDTO |
setHeaders(Headers headers) |
HttpResponseDTO |
setReasonPhrase(String reasonPhrase) |
HttpResponseDTO |
setStatusCode(Integer statusCode) |
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
public HttpResponseDTO()
public HttpResponseDTO(HttpResponse httpResponse)
public HttpResponse buildObject()
buildObject
in interface DTO<HttpResponse>
public Integer getStatusCode()
public HttpResponseDTO setStatusCode(Integer statusCode)
public String getReasonPhrase()
public HttpResponseDTO setReasonPhrase(String reasonPhrase)
public BodyWithContentTypeDTO getBody()
public HttpResponseDTO setBody(BodyWithContentTypeDTO body)
public Headers getHeaders()
public HttpResponseDTO setHeaders(Headers headers)
public Cookies getCookies()
public HttpResponseDTO setCookies(Cookies cookies)
public DelayDTO getDelay()
public HttpResponseDTO setDelay(DelayDTO delay)
public ConnectionOptionsDTO getConnectionOptions()
public HttpResponseDTO setConnectionOptions(ConnectionOptionsDTO connectionOptions)
Copyright © 2020. All rights reserved.