org.apache.hc.core5.http.impl

## Interface Http1StreamListener

- All Known Implementing Classes:
    LoggingHttp1StreamListener, LoggingHttp1StreamListener

      @Contract(threading=STATELESS)
      @Internal
      public interface Http1StreamListener

  HTTP/1.1 stream event listener.
  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onExchangeComplete(HttpConnection connection, boolean keepAlive)`
    `void` | `onRequestHead(HttpConnection connection, HttpRequest request)`
    `void` | `onResponseHead(HttpConnection connection, HttpResponse response)`

- - ### Method Detail

    - #### onRequestHead

          void onRequestHead(HttpConnection connection,
                           HttpRequest request)

    - #### onResponseHead

          void onResponseHead(HttpConnection connection,
                            HttpResponse response)

    - #### onExchangeComplete

          void onExchangeComplete(HttpConnection connection,
                                boolean keepAlive)

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.