Class HttpStreamListener

java.lang.Object
com.luna.common.net.high.HttpStreamListener
All Implemented Interfaces:
org.apache.hc.core5.http.impl.Http1StreamListener

public class HttpStreamListener extends Object implements org.apache.hc.core5.http.impl.Http1StreamListener
Author:
luna
Description:
  • Constructor Details

    • HttpStreamListener

      public HttpStreamListener()
  • Method Details

    • onRequestHead

      public void onRequestHead(org.apache.hc.core5.http.HttpConnection connection, org.apache.hc.core5.http.HttpRequest request)
      Specified by:
      onRequestHead in interface org.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:
      onResponseHead in interface org.apache.hc.core5.http.impl.Http1StreamListener
    • onExchangeComplete

      public void onExchangeComplete(org.apache.hc.core5.http.HttpConnection connection, boolean keepAlive)
      Specified by:
      onExchangeComplete in interface org.apache.hc.core5.http.impl.Http1StreamListener