Package org.eclipse.jetty.io
Interface Content.Chunk.Processor
- Enclosing interface:
- Content.Chunk
public static interface Content.Chunk.Processor
Implementations of this interface may process Content.Chunk
s being copied by the
Content.copy(Source, Sink, Processor, Callback)
method, so that
Content.Chunk
s of unknown types can be copied.
-
Method Summary
-
Method Details
-
process
- Parameters:
chunk
- The chunk to be considered for processing.callback
- The callback that will be called once the accepted chunk is processed.- Returns:
- True if the chunk will be process and the callback will be called (or may have already been called), false otherwise.
-