Interface Request.ContentListener

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

@Deprecated(since="2021-05-27") public static interface Request.ContentListener extends Request.RequestListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Listener for the request content event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onContent(Request request, ByteBuffer content)
    Deprecated.
    Callback method invoked when a chunk of request content has been sent successfully.
  • Method Details

    • onContent

      void onContent(Request request, ByteBuffer content)
      Deprecated.
      Callback method invoked when a chunk of request content has been sent successfully. Changes to bytes in the given buffer have no effect, as the content has already been sent.
      Parameters:
      request - the request that has been committed
      content - the content