Uses of Class
net.officefloor.server.stream.StreamBuffer
Packages that use StreamBuffer
Package
Description
-
Uses of StreamBuffer in net.officefloor.server
Methods in net.officefloor.server with parameters of type StreamBufferModifier and TypeMethodDescriptionvoidRequestHandler.sendImmediateData(StreamBuffer<ByteBuffer> immediateHead) Sends data immediately.voidSocketServicer.service(StreamBuffer<ByteBuffer> readBuffer, long bytesRead, boolean isNewBuffer) Services theSocket.voidResponseHeaderWriter.write(StreamBuffer<ByteBuffer> head, StreamBufferPool<ByteBuffer> bufferPool) Writes the header content.voidResponseWriter.write(ResponseHeaderWriter responseHeaderWriter, StreamBuffer<ByteBuffer> headResponseBuffer) Writes theStreamBufferinstances as the response. -
Uses of StreamBuffer in net.officefloor.server.aws.sam
Methods in net.officefloor.server.aws.sam with parameters of type StreamBufferModifier and TypeMethodDescriptionvoidSamHttpResponseWriter.writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<ByteBuffer> contentHeadStreamBuffer) -
Uses of StreamBuffer in net.officefloor.server.buffer
Methods in net.officefloor.server.buffer with parameters of type StreamBufferModifier and TypeMethodDescriptionvoidStreamBufferByteSequence.appendStreamBuffer(StreamBuffer<ByteBuffer> buffer, int offset, int length) Appends aStreamBufferto thisByteSequence.voidStreamBufferScanner.appendStreamBuffer(StreamBuffer<ByteBuffer> buffer) AppendsStreamBufferfor scanning.Constructors in net.officefloor.server.buffer with parameters of type StreamBufferModifierConstructorDescriptionStreamBufferByteSequence(StreamBuffer<ByteBuffer> buffer, int offset, int length) Instantiate with the firstStreamBuffer. -
Uses of StreamBuffer in net.officefloor.server.google.function
Methods in net.officefloor.server.google.function with parameters of type StreamBufferModifier and TypeMethodDescriptionvoidGoogleFunctionHttpResponseWriter.writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<ByteBuffer> contentHeadStreamBuffer) -
Uses of StreamBuffer in net.officefloor.server.http
Methods in net.officefloor.server.http with parameters of type StreamBufferModifier and TypeMethodDescription<B> voidHttpHeaderName.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes thisHttpHeaderNameto theStreamBuffer.<B> voidHttpHeaderValue.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes thisHttpHeaderValueto theStreamBuffer.<B> voidHttpStatus.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes thisHttpStatusto theStreamBuffer.<B> voidHttpVersion.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes thisHttpStatusto theStreamBuffer.<B> voidWritableHttpCookie.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes this HTTP Cookie to theStreamBufferstream.<B> voidWritableHttpHeader.write(StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes thisHttpHeaderto theStreamBuffer.<B> voidHttpException.writeHttpResponse(HttpVersion version, boolean isIncludeStackTrace, StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes the HTTP response for thisHttpException.voidHttpResponseWriter.writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<B> contentHeadStreamBuffer) Writes theHttpResponse. -
Uses of StreamBuffer in net.officefloor.server.http.mock
Methods in net.officefloor.server.http.mock that return StreamBufferModifier and TypeMethodDescriptionMockStreamBufferPool.getFileStreamBuffer(FileChannel file, long position, long count, FileCompleteCallback callback) MockStreamBufferPool.getPooledStreamBuffer()MockStreamBufferPool.getUnpooledStreamBuffer(ByteBuffer byteBuffer) Methods in net.officefloor.server.http.mock with parameters of type StreamBufferModifier and TypeMethodDescriptionstatic InputStreamMockStreamBufferPool.createInputStream(StreamBuffer<ByteBuffer> headBuffer) Creates anInputStreamto the content of theStreamBufferinstances.static StringMockStreamBufferPool.getContent(StreamBuffer<ByteBuffer> headBuffer, Charset charset) Convenience method to obtain the contents of the buffers as a string.static voidMockStreamBufferPool.releaseStreamBuffers(StreamBuffer<ByteBuffer> headBuffer) Releases theStreamBufferinstances. -
Uses of StreamBuffer in net.officefloor.server.http.netty
Subclasses of StreamBuffer in net.officefloor.server.http.nettyMethods in net.officefloor.server.http.netty that return StreamBufferModifier and TypeMethodDescriptionStreamBuffer<io.netty.buffer.ByteBuf>NettyBufferPool.getFileStreamBuffer(FileChannel file, long position, long count, FileCompleteCallback callback) StreamBuffer<io.netty.buffer.ByteBuf>NettyBufferPool.getPooledStreamBuffer()StreamBuffer<io.netty.buffer.ByteBuf>NettyBufferPool.getUnpooledStreamBuffer(ByteBuffer buffer) -
Uses of StreamBuffer in net.officefloor.server.http.servlet
Methods in net.officefloor.server.http.servlet with parameters of type StreamBufferModifier and TypeMethodDescriptionvoidHttpServletHttpResponseWriter.writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<ByteBuffer> contentHeadStreamBuffer) -
Uses of StreamBuffer in net.officefloor.server.http.vertx
Subclasses of StreamBuffer in net.officefloor.server.http.vertxMethods in net.officefloor.server.http.vertx that return StreamBufferModifier and TypeMethodDescriptionStreamBuffer<io.vertx.core.buffer.Buffer>VertxBufferPool.getFileStreamBuffer(FileChannel file, long position, long count, FileCompleteCallback callback) StreamBuffer<io.vertx.core.buffer.Buffer>VertxBufferPool.getPooledStreamBuffer()StreamBuffer<io.vertx.core.buffer.Buffer>VertxBufferPool.getUnpooledStreamBuffer(ByteBuffer buffer) -
Uses of StreamBuffer in net.officefloor.server.stream
Fields in net.officefloor.server.stream declared as StreamBufferMethods in net.officefloor.server.stream that return StreamBufferModifier and TypeMethodDescriptionStreamBufferPool.getFileStreamBuffer(FileChannel file, long position, long count, FileCompleteCallback callback) Obtains aStreamBufferfor theFileChannelcontent.StreamBufferPool.getPooledStreamBuffer()Obtains aStreamBuffer.StreamBufferPool.getUnpooledStreamBuffer(ByteBuffer buffer) Obtains anStreamBufferthat is not pooled.static <B> StreamBuffer<B>StreamBuffer.getWriteStreamBuffer(StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Obtains theStreamBufferto use for writing.static <B> StreamBuffer<B>StreamBuffer.writeByte(byte character, StreamBuffer<B> writeBuffer, StreamBufferPool<B> bufferPool) Writes a HTTP encoded character.Methods in net.officefloor.server.stream with parameters of type StreamBufferModifier and TypeMethodDescriptionstatic <B> AppendableStreamBuffer.getAppendable(StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Obtains anAppendableto write to theStreamBufferstream.static <B> StreamBuffer<B>StreamBuffer.getWriteStreamBuffer(StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Obtains theStreamBufferto use for writing.static <B> voidStreamBuffer.write(byte[] bytes, int offset, int length, StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Writes the bytes to theStreamBufferstream.static <B> voidStreamBuffer.write(byte[] bytes, StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Writes all the bytes to theStreamBufferstream.static <B> voidStreamBuffer.write(long value, StreamBuffer<B> head, StreamBufferPool<B> bufferPool) Writes a long value to theStreamBuffer.static <B> voidStreamBuffer.write(CharSequence characters, int offset, int length, StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Writes theCharSequenceto theStreamBufferstream.static <B> voidStreamBuffer.write(CharSequence characters, StreamBuffer<B> headBuffer, StreamBufferPool<B> bufferPool) Writes all theCharSequenceto theStreamBufferstream.static voidStreamBufferUtil.write(StreamBuffer<ByteBuffer> headBuffer, OutputStream outputStream, StreamBufferPool<ByteBuffer> bufferPool) Writes the chain ofStreamBuffercontent to theOutputStream.static <B> StreamBuffer<B>StreamBuffer.writeByte(byte character, StreamBuffer<B> writeBuffer, StreamBufferPool<B> bufferPool) Writes a HTTP encoded character. -
Uses of StreamBuffer in net.officefloor.server.stream.impl
Subclasses of StreamBuffer in net.officefloor.server.stream.implMethods in net.officefloor.server.stream.impl that return StreamBufferModifier and TypeMethodDescriptionBufferPoolServerOutputStream.getBuffers()Obtains the headStreamBufferinstances used by thisServerOutputStream.AbstractStreamBufferPool.getFileStreamBuffer(FileChannel file, long position, long count, FileCompleteCallback callback) ThreadLocalStreamBufferPool.getPooledStreamBuffer()=============== StreamBufferPool ===========================AbstractStreamBufferPool.getUnpooledStreamBuffer(ByteBuffer buffer)