Freigeben über


IHttpResponse Interface

public interface IHttpResponse

HTTP response from execution of HttpRequest in IHttpClient

Method Summary

Modifier and Type Method and Description
abstract java.lang.String body()
abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
abstract int statusCode()

Method Details

body

public abstract String body()

Returns:

HTTP response body

headers

public abstract Map> headers()

Returns:

HTTP response headers

statusCode

public abstract int statusCode()

Returns:

HTTP response status code.

Applies to