Package org.eclipse.jetty.client.http
Class HttpSenderOverHTTP.ByteBufferRecyclerCallback
java.lang.Object
org.eclipse.jetty.util.Callback.Completing
org.eclipse.jetty.util.Callback.Nested
org.eclipse.jetty.client.http.HttpSenderOverHTTP.ByteBufferRecyclerCallback
- Enclosing class:
HttpSenderOverHTTP
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ByteBufferRecyclerCallback
(Callback callback, ByteBufferPool pool, ByteBuffer... buffers) -
Method Summary
Methods inherited from class org.eclipse.jetty.util.Callback.Nested
getCallback, getInvocationType
Methods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
Field Details
-
pool
-
buffers
-
-
Constructor Details
-
ByteBufferRecyclerCallback
-
-
Method Details
-
succeeded
public void succeeded()Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- Overrides:
succeeded
in classCallback.Nested
- See Also:
-
failed
Description copied from interface:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classCallback.Nested
- Parameters:
x
- the reason for the operation failure
-