Package org.eclipse.jetty.client.api
Interface Request.ContentListener
-
- All Superinterfaces:
java.util.EventListener
,Request.RequestListener
- All Known Subinterfaces:
Request.Listener
- All Known Implementing Classes:
Request.Listener.Adapter
- Enclosing interface:
- Request
public static interface Request.ContentListener extends Request.RequestListener
Listener for the request content event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onContent(Request request, java.nio.ByteBuffer content)
Callback method invoked when a chunk of request content has been sent successfully.
-
-
-
Method Detail
-
onContent
void onContent(Request request, java.nio.ByteBuffer content)
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
-
-