Module com.logicommerce.sdktest
Class AsyncErrorResponse
java.lang.Object
com.logicommerce.sdktest.resources.connection.AsyncErrorResponse
- All Implemented Interfaces:
org.asynchttpclient.Response
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.asynchttpclient.Response
org.asynchttpclient.Response.ResponseBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.netty.handler.codec.http.cookie.Cookie>getHeader(CharSequence name) io.netty.handler.codec.http.HttpHeadersgetHeaders(CharSequence name) getResponseBody(Charset charset) byte[]intorg.asynchttpclient.uri.UrigetUri()booleanbooleanbooleanbooleanvoidsetResponseBody(String responseBody) voidsetStatusCode(int statusCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.asynchttpclient.Response
toString
-
Constructor Details
-
AsyncErrorResponse
public AsyncErrorResponse()
-
-
Method Details
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceorg.asynchttpclient.Response
-
setStatusCode
public void setStatusCode(int statusCode) -
getStatusText
- Specified by:
getStatusTextin interfaceorg.asynchttpclient.Response
-
getResponseBodyAsBytes
public byte[] getResponseBodyAsBytes()- Specified by:
getResponseBodyAsBytesin interfaceorg.asynchttpclient.Response
-
getResponseBodyAsByteBuffer
- Specified by:
getResponseBodyAsByteBufferin interfaceorg.asynchttpclient.Response
-
getResponseBodyAsStream
- Specified by:
getResponseBodyAsStreamin interfaceorg.asynchttpclient.Response
-
getResponseBody
- Specified by:
getResponseBodyin interfaceorg.asynchttpclient.Response
-
getResponseBody
- Specified by:
getResponseBodyin interfaceorg.asynchttpclient.Response
-
setResponseBody
-
getUri
public org.asynchttpclient.uri.Uri getUri()- Specified by:
getUriin interfaceorg.asynchttpclient.Response
-
getContentType
- Specified by:
getContentTypein interfaceorg.asynchttpclient.Response
-
getHeader
- Specified by:
getHeaderin interfaceorg.asynchttpclient.Response
-
getHeaders
- Specified by:
getHeadersin interfaceorg.asynchttpclient.Response
-
getHeaders
public io.netty.handler.codec.http.HttpHeaders getHeaders()- Specified by:
getHeadersin interfaceorg.asynchttpclient.Response
-
isRedirected
public boolean isRedirected()- Specified by:
isRedirectedin interfaceorg.asynchttpclient.Response
-
getCookies
- Specified by:
getCookiesin interfaceorg.asynchttpclient.Response
-
hasResponseStatus
public boolean hasResponseStatus()- Specified by:
hasResponseStatusin interfaceorg.asynchttpclient.Response
-
hasResponseHeaders
public boolean hasResponseHeaders()- Specified by:
hasResponseHeadersin interfaceorg.asynchttpclient.Response
-
hasResponseBody
public boolean hasResponseBody()- Specified by:
hasResponseBodyin interfaceorg.asynchttpclient.Response
-
getRemoteAddress
- Specified by:
getRemoteAddressin interfaceorg.asynchttpclient.Response
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceorg.asynchttpclient.Response
-