Uses of Interface
org.forgerock.http.io.Buffer
-
Packages that use Buffer Package Description org.forgerock.http Models and manages elements of the Hypertext Transfer Protocol.org.forgerock.http.handler CoreHandler
implementations.org.forgerock.http.io Provides stream buffering, branching, and storage functions. -
-
Uses of Buffer in org.forgerock.http
Methods in org.forgerock.http that return types with arguments of type Buffer Modifier and Type Method Description Factory<Buffer>
HttpApplication. getBufferFactory()
Method parameters in org.forgerock.http with type arguments of type Buffer Modifier and Type Method Description static DescribedHttpApplication
Applications. describedHttpApplication(Handler handler, Factory<Buffer> storage, ApiProducer<io.swagger.models.Swagger> apiProducer)
Create a simpleDescribedHttpApplication
that just returns the provided arguments from the appropriate methods.static HttpApplication
Applications. simpleHttpApplication(Handler handler, Factory<Buffer> storage)
Create a simpleHttpApplication
that just returns the provided arguments from the appropriate methods. -
Uses of Buffer in org.forgerock.http.handler
Fields in org.forgerock.http.handler with type parameters of type Buffer Modifier and Type Field Description static Option<Factory<Buffer>>
HttpClientHandler. OPTION_TEMPORARY_STORAGE
Specifies the temporary storage that should be used for storing HTTP responses. -
Uses of Buffer in org.forgerock.http.io
Methods in org.forgerock.http.io that return Buffer Modifier and Type Method Description static Buffer
IO. newFileBuffer(File file, int limit)
Creates a new file buffer that uses a local file for data storage.static Buffer
IO. newMemoryBuffer(int initial, int limit)
Creates a new buffer that uses a byte array for data storage.static Buffer
IO. newTemporaryBuffer(int initialLength, int memoryLimit, int fileLimit, File directory)
Creates a new temporary buffer that first uses memory, then a temporary file for data storage.Methods in org.forgerock.http.io that return types with arguments of type Buffer Modifier and Type Method Description static Factory<Buffer>
IO. newTemporaryStorage()
Creates a new storage using the system dependent default temporary directory and default sizes.static Factory<Buffer>
IO. newTemporaryStorage(File directory)
Builds a storage using the given directory (may be null) and default sizes.static Factory<Buffer>
IO. newTemporaryStorage(File directory, int initialLength, int memoryLimit, int fileLimit)
Builds a storage using the given directory (may be null) and provided sizes.Method parameters in org.forgerock.http.io with type arguments of type Buffer Modifier and Type Method Description static BranchingInputStream
IO. newBranchingInputStream(InputStream in, Factory<Buffer> bufferFactory)
Creates a new branching input stream to wrap another input stream.Constructor parameters in org.forgerock.http.io with type arguments of type Buffer Constructor Description PipeBufferedStream(Factory<Buffer> bufferFactory)
Constructs a newPipeBufferedStream
with the givenFactory
.
-