Package org.eclipse.jetty.io
Class WriteFlusher.PendingState
- java.lang.Object
-
- org.eclipse.jetty.io.WriteFlusher.State
-
- org.eclipse.jetty.io.WriteFlusher.PendingState
-
- Enclosing class:
- WriteFlusher
private class WriteFlusher.PendingState extends WriteFlusher.State
In PendingState not all buffers could be written in one go. Then write() will switch to PendingState() and preserve the state by creating a new PendingState object with the given parameters.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PendingState(java.nio.ByteBuffer[] buffers, Callback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer[]
getBuffers()
(package private) Invocable.InvocationType
getCallbackInvocationType()
-
Methods inherited from class org.eclipse.jetty.io.WriteFlusher.State
getType, toString
-
-
-
-
Field Detail
-
_callback
private final Callback _callback
-
_buffers
private final java.nio.ByteBuffer[] _buffers
-
-
Constructor Detail
-
PendingState
private PendingState(java.nio.ByteBuffer[] buffers, Callback callback)
-
-
Method Detail
-
getBuffers
public java.nio.ByteBuffer[] getBuffers()
-
getCallbackInvocationType
Invocable.InvocationType getCallbackInvocationType()
-
-