Package org.nuxeo.http.test
Class HttpClientExecution
- java.lang.Object
-
- org.nuxeo.http.test.HttpClientExecution
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class HttpClientExecution extends Object implements Closeable
- Since:
- 2023.13
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.http.client.methods.HttpUriRequest
request
protected CloseableHttpResponse
response
-
Constructor Summary
Constructors Constructor Description HttpClientExecution(org.apache.http.client.methods.HttpUriRequest request, CloseableHttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.apache.http.client.methods.HttpUriRequest
request()
CloseableHttpResponse
response()
-
-
-
Field Detail
-
request
protected final org.apache.http.client.methods.HttpUriRequest request
-
response
protected final CloseableHttpResponse response
-
-
Constructor Detail
-
HttpClientExecution
public HttpClientExecution(org.apache.http.client.methods.HttpUriRequest request, CloseableHttpResponse response)
-
-
Method Detail
-
request
public org.apache.http.client.methods.HttpUriRequest request()
-
response
public CloseableHttpResponse response()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-