Class JdkResponseInfo
- java.lang.Object
-
- de.martinpallmann.mockbridge.jdk.api.JdkResponseInfo
-
- All Implemented Interfaces:
HttpResponse.ResponseInfo
public class JdkResponseInfo extends Object implements HttpResponse.ResponseInfo
-
-
Constructor Summary
Constructors Constructor Description JdkResponseInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeadersheaders()static HttpResponse.ResponseInforesponseInfo(HttpClient.Version version, com.github.tomakehurst.wiremock.http.Response response)intstatusCode()HttpClient.Versionversion()
-
-
-
Method Detail
-
responseInfo
public static HttpResponse.ResponseInfo responseInfo(HttpClient.Version version, com.github.tomakehurst.wiremock.http.Response response)
-
statusCode
public int statusCode()
- Specified by:
statusCodein interfaceHttpResponse.ResponseInfo
-
headers
public HttpHeaders headers()
- Specified by:
headersin interfaceHttpResponse.ResponseInfo
-
version
public HttpClient.Version version()
- Specified by:
versionin interfaceHttpResponse.ResponseInfo
-
-