public class LoggingHttp1StreamListener extends Object implements Http1StreamListener
Modifier and Type | Field and Description |
---|---|
static LoggingHttp1StreamListener |
INSTANCE |
Constructor and Description |
---|
LoggingHttp1StreamListener() |
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
public void onRequestHead(HttpConnection connection, HttpRequest request)
onRequestHead
in interface Http1StreamListener
public void onResponseHead(HttpConnection connection, HttpResponse response)
onResponseHead
in interface Http1StreamListener
public void onExchangeComplete(HttpConnection connection, boolean keepAlive)
onExchangeComplete
in interface Http1StreamListener
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.