Interface Request.HeadersListener

All Superinterfaces:
EventListener, Request.RequestListener
All Known Subinterfaces:
Request.Listener
Enclosing interface:
Request

public static interface Request.HeadersListener extends Request.RequestListener
Listener for the request headers event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHeaders(Request request)
    Callback method invoked when the request headers (and perhaps small content) are ready to be sent.
  • Method Details

    • onHeaders

      void onHeaders(Request request)
      Callback method invoked when the request headers (and perhaps small content) are ready to be sent. The request has been converted into bytes, but not yet sent to the server, and further modifications to the request may have no effect.
      Parameters:
      request - the request that is about to be committed