public class LoggingHttp1StreamListener extends Object implements Http1StreamListener
| Modifier and Type | Field and Description |
|---|---|
static LoggingHttp1StreamListener |
INSTANCE_CLIENT |
static LoggingHttp1StreamListener |
INSTANCE_SERVER |
| Modifier and Type | Method and Description |
|---|---|
void |
onExchangeComplete(HttpConnection connection,
boolean keepAlive) |
void |
onRequestHead(HttpConnection connection,
HttpRequest request) |
void |
onResponseHead(HttpConnection connection,
HttpResponse response) |
public static final LoggingHttp1StreamListener INSTANCE_CLIENT
public static final LoggingHttp1StreamListener INSTANCE_SERVER
public void onRequestHead(HttpConnection connection, HttpRequest request)
onRequestHead in interface Http1StreamListenerpublic void onResponseHead(HttpConnection connection, HttpResponse response)
onResponseHead in interface Http1StreamListenerpublic void onExchangeComplete(HttpConnection connection, boolean keepAlive)
onExchangeComplete in interface Http1StreamListenerCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.