Uses of Interface
org.forgerock.http.io.Buffer
Package
Description
Models and manages elements of the Hypertext Transfer Protocol.
Core
Handler
implementations.Provides stream buffering, branching, and storage functions.
JSON resource Commons HTTP Framework integration.
Contains components and APIs used to serve static resources.
Integrates with the ForgeRock HTTP Framework.
-
Uses of Buffer in org.forgerock.http
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeFieldDescriptionHttpClientHandler.OPTION_TEMPORARY_STORAGE
Specifies the temporary storage that should be used for storing HTTP responses. -
Uses of Buffer in org.forgerock.http.io
Modifier and TypeMethodDescriptionstatic 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.Modifier and TypeMethodDescriptionIO.newTemporaryStorage()
Creates a new storage using the system dependent default temporary directory and default sizes.IO.newTemporaryStorage
(File directory) Builds a storage using the given directory (may be null) and default sizes.IO.newTemporaryStorage
(File directory, int initialLength, int memoryLimit, int fileLimit) Builds a storage using the given directory (may be null) and provided sizes.Modifier and TypeMethodDescriptionstatic BranchingInputStream
IO.newBranchingInputStream
(InputStream in, Factory<Buffer> bufferFactory) Creates a new branching input stream to wrap another input stream.ModifierConstructorDescriptionPipeBufferedStream
(Factory<Buffer> bufferFactory) Constructs a newPipeBufferedStream
with the givenFactory
. -
Uses of Buffer in org.forgerock.json.resource.http
Modifier and TypeMethodDescriptionstatic Handler
CrestHttp.newHttpHandler
(CrestApplication application, HttpContextFactory factory, Factory<Buffer> bufferFactory) Creates a new JSON resource HTTP handler with the provided CREST request handler.static Handler
CrestHttp.newHttpHandler
(CrestApplication application, Context context, Factory<Buffer> bufferFactory) Creates a new JSON resource HTTP handler with the provided CREST request handler.static Handler
CrestHttp.newHttpHandler
(CrestApplication application, Factory<Buffer> bufferFactory) Creates a new JSON resource HTTP handler with the provided CREST request handler. -
Uses of Buffer in org.forgerock.openig.handler.resources
ModifierConstructorDescriptionResourceHandler
(Factory<Buffer> storage, List<ResourceSet> sets, List<String> welcomePages) Creates a newResourceHandler
with the givensets
ofResourceSet
and the list of welcome pages mappings. -
Uses of Buffer in org.forgerock.openig.http
Modifier and TypeMethodDescriptionBaseAdminHttpApplication.getBufferFactory()
GatewayHttpApplication.getBufferFactory()