Class LoggingHttp1StreamListener
java.lang.Object
org.apache.hc.core5.testing.nio.LoggingHttp1StreamListener
- All Implemented Interfaces:
org.apache.hc.core5.http.impl.Http1StreamListener
public class LoggingHttp1StreamListener
extends Object
implements org.apache.hc.core5.http.impl.Http1StreamListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoggingHttp1StreamListenerstatic final LoggingHttp1StreamListener -
Method Summary
Modifier and TypeMethodDescriptionvoidonExchangeComplete(org.apache.hc.core5.http.HttpConnection connection, boolean keepAlive) voidonRequestHead(org.apache.hc.core5.http.HttpConnection connection, org.apache.hc.core5.http.HttpRequest request) voidonResponseHead(org.apache.hc.core5.http.HttpConnection connection, org.apache.hc.core5.http.HttpResponse response)
-
Field Details
-
INSTANCE_CLIENT
-
INSTANCE_SERVER
-
-
Method Details
-
onRequestHead
public void onRequestHead(org.apache.hc.core5.http.HttpConnection connection, org.apache.hc.core5.http.HttpRequest request) - Specified by:
onRequestHeadin interfaceorg.apache.hc.core5.http.impl.Http1StreamListener
-
onResponseHead
public void onResponseHead(org.apache.hc.core5.http.HttpConnection connection, org.apache.hc.core5.http.HttpResponse response) - Specified by:
onResponseHeadin interfaceorg.apache.hc.core5.http.impl.Http1StreamListener
-
onExchangeComplete
public void onExchangeComplete(org.apache.hc.core5.http.HttpConnection connection, boolean keepAlive) - Specified by:
onExchangeCompletein interfaceorg.apache.hc.core5.http.impl.Http1StreamListener
-