public interface NHttpClientConnection extends NHttpConnection
NHttpConnectionACTIVE, CLOSED, CLOSING| Modifier and Type | Method and Description |
|---|---|
boolean |
isRequestSubmitted()
Returns
true if an HTTP request has been submitted to the
target server. |
void |
resetInput()
Resets input state.
|
void |
resetOutput()
Resets output state.
|
void |
submitRequest(HttpRequest request)
Submits
HttpRequest to be sent to the target server. |
getContext, getHttpRequest, getHttpResponse, getStatusclose, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownrequestInput, requestOutput, shutdown, suspendInput, suspendOutputvoid submitRequest(HttpRequest request) throws IOException, HttpException
HttpRequest to be sent to the target server.request - HTTP requestIOException - if I/O error occurs while submitting the requestHttpException - if the HTTP request violates the HTTP protocol.boolean isRequestSubmitted()
true if an HTTP request has been submitted to the
target server.true if an HTTP request has been submitted,
false otherwise.void resetOutput()
void resetInput()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.