Package org.eclipse.jetty.client
Interface Request.ContentListener
- All Superinterfaces:
EventListener
,Request.RequestListener
- All Known Subinterfaces:
Request.Listener
- Enclosing interface:
- Request
Listener for the request content event.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onContent
(Request request, ByteBuffer content) Callback method invoked when a chunk of request content has been sent successfully.
-
Method Details
-
onContent
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 committedcontent
- the content
-