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 with parameters of type Content.SinkModifier and TypeMethodDescriptionstatic 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 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.SinkConstructors in org.eclipse.jetty.io.content with parameters of type Content.SinkModifierConstructorDescriptionContentSinkSubscriber(Content.Sink sink, org.eclipse.jetty.util.Callback callback)