Package org.eclipse.jetty.server
Class HttpConnection.Content
- java.lang.Object
-
- org.eclipse.jetty.server.HttpInput.Content
-
- org.eclipse.jetty.server.HttpConnection.Content
-
- Enclosing class:
- HttpConnection
private class HttpConnection.Content extends HttpInput.Content
-
-
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
-
Fields inherited from class org.eclipse.jetty.server.HttpInput.Content
_content
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description Content(java.nio.ByteBuffer content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
failed(java.lang.Throwable x)
Callback invoked when the operation fails.void
succeeded()
Callback invoked when the operation completes.-
Methods inherited from class org.eclipse.jetty.server.HttpInput.Content
get, getByteBuffer, getInvocationType, hasContent, isEmpty, remaining, skip, toString
-
-
-
-
Method Detail
-
succeeded
public void succeeded()
Description copied from interface:Callback
Callback invoked when the operation completes.
- See Also:
Callback.failed(Throwable)
-
failed
public void failed(java.lang.Throwable x)
Description copied from interface:Callback
Callback invoked when the operation fails.
- Parameters:
x
- the reason for the operation failure
-
-