Uses of Interface
org.eclipse.jetty.io.Content.Sink
Packages that use Content.Sink
Package
Description
Jetty IO : Core classes for Jetty IO subsystem
Jetty IO : Core SSL Support
-
Uses of Content.Sink in org.eclipse.jetty.io
Subinterfaces of Content.Sink in org.eclipse.jetty.ioModifier and TypeInterfaceDescriptioninterfaceEndPoint is the abstraction for I/O communication using bytes.Classes in org.eclipse.jetty.io that implement Content.SinkModifier and TypeClassDescriptionclassPartial implementation of EndPoint that usesFillInterestandWriteFlusher.classByteArrayEndPoint.classAnEndPointimplementation based onDatagramChannel.classA specialized version ofSocketChannelEndPointthat supportsNetworkTrafficListeners.classA partialEndPointimplementation based onSelectableChannel.classAnEndPointimplementation based onSocketChannel.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.static Content.SinkContent.Sink.from(OutputStream out) Wraps the givenOutputStreamas aContent.Sink.static Content.SinkContent.Sink.from(AsynchronousByteChannel channel) Wraps the givenAsynchronousByteChannelas aContent.Sink.static Content.SinkContent.Sink.from(ByteChannel channel) Wraps the givenByteChannelas aContent.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.Sized bufferPool, long offset, 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 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).voidRetainableByteBuffer.DynamicCapacity.writeTo(Content.Sink sink, boolean last, org.eclipse.jetty.util.Callback callback) voidRetainableByteBuffer.Wrapper.writeTo(Content.Sink sink, boolean last, org.eclipse.jetty.util.Callback callback) default voidRetainableByteBuffer.writeTo(Content.Sink sink, boolean last) Writes and consumes the contents of this retainable byte buffer into the given sink.default voidRetainableByteBuffer.writeTo(Content.Sink sink, boolean last, org.eclipse.jetty.util.Callback callback) Asynchronously writes and consumes the contents of this retainable byte buffer into the given sink. -
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.Sized sizedPool, int maxBufferSize) BufferedContentSink(Content.Sink delegate, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) ContentSinkSubscriber(Content.Sink sink, org.eclipse.jetty.util.Callback callback) -
Uses of Content.Sink in org.eclipse.jetty.io.ssl
Classes in org.eclipse.jetty.io.ssl that implement Content.Sink