Uses of Interface
org.eclipse.jetty.io.Content.Sink
Packages that use Content.Sink
Package
Description
Jetty IO : Core classes for Jetty IO subsystem
-
Uses of Content.Sink in org.eclipse.jetty.io
Methods in org.eclipse.jetty.io that return Content.SinkModifier and TypeMethodDescriptionstatic Content.SinkContent.Sink.asBuffered(Content.Sink sink, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) Wraps the given content sink with a buffering sink.Methods in org.eclipse.jetty.io with parameters of type Content.SinkModifier and TypeMethodDescriptionstatic Content.SinkContent.Sink.asBuffered(Content.Sink sink, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) Wraps the given content sink with a buffering sink.static OutputStreamContent.Sink.asOutputStream(Content.Sink sink) Wraps the given content sink with anOutputStream.static Flow.Subscriber<Content.Chunk> Content.Sink.asSubscriber(Content.Sink sink, org.eclipse.jetty.util.Callback callback) Wraps the given content sink with aFlow.Subscriber.static voidContent.copy(Content.Source source, Content.Sink sink, Content.Chunk.Processor chunkProcessor, org.eclipse.jetty.util.Callback callback) Copies the given content source to the given content sink, notifying the given callback when the copy is complete.static voidContent.copy(Content.Source source, Content.Sink sink, org.eclipse.jetty.util.Callback callback) Copies the given content source to the given content sink, notifying the given callback when the copy is complete (either succeeded or failed).static voidIOResources.copy(org.eclipse.jetty.util.resource.Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length, org.eclipse.jetty.util.Callback callback) Performs an asynchronous copy of a subset of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static voidIOResources.copy(org.eclipse.jetty.util.resource.Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, org.eclipse.jetty.util.Callback callback) Performs an asynchronous copy of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static voidContent.Sink.write(Content.Sink sink, boolean last, String utf8Content, org.eclipse.jetty.util.Callback callback) Writes the givenString, converting it to UTF-8 bytes, notifying theCallbackwhen the write is complete.static voidContent.Sink.write(Content.Sink sink, boolean last, ByteBuffer byteBuffer) Blocking version ofwrite(boolean, ByteBuffer, Callback). -
Uses of Content.Sink in org.eclipse.jetty.io.content
Classes in org.eclipse.jetty.io.content that implement Content.SinkModifier and TypeClassDescriptionclassAContent.Sourcethat is also aContent.Sink.classAContent.Sinkbacked by anotherContent.Sink.Constructors in org.eclipse.jetty.io.content with parameters of type Content.SinkModifierConstructorDescriptionBufferedContentSink(Content.Sink delegate, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) ContentSinkSubscriber(Content.Sink sink, org.eclipse.jetty.util.Callback callback)