Package | Description |
---|---|
org.forgerock.http |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.http.io |
Provides stream buffering, branching, and storage functions.
|
org.forgerock.openig.handler |
Handles HTTP requests by generating responses.
|
org.forgerock.openig.handler.resources |
Contains components and APIs used to serve static resources.
|
org.forgerock.openig.http |
Integrates with the ForgeRock HTTP Framework.
|
Modifier and Type | Method and Description |
---|---|
Factory<Buffer> |
HttpApplication.getBufferFactory()
|
Modifier and Type | Method and Description |
---|---|
static DescribedHttpApplication |
Applications.describedHttpApplication(Handler handler,
Factory<Buffer> storage,
ApiProducer<io.swagger.models.Swagger> apiProducer)
Create a simple
DescribedHttpApplication that just returns the provided arguments from the appropriate
methods. |
static HttpApplication |
Applications.simpleHttpApplication(Handler handler,
Factory<Buffer> storage)
Create a simple
HttpApplication that just returns the provided arguments from the appropriate methods. |
Modifier and Type | Field and Description |
---|---|
static Option<Factory<Buffer>> |
HttpClientHandler.OPTION_TEMPORARY_STORAGE
Specifies the temporary storage that should be used for storing HTTP
responses.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static BranchingInputStream |
IO.newBranchingInputStream(InputStream in,
Factory<Buffer> bufferFactory)
Creates a new branching input stream to wrap another input stream.
|
Constructor and Description |
---|
PipeBufferedStream(Factory<Buffer> bufferFactory)
Constructs a new
PipeBufferedStream with the given Factory . |
Constructor and Description |
---|
WelcomeHandler(Factory<Buffer> storage)
Creates a new welcome page handler.
|
Constructor and Description |
---|
ResourceHandler(Factory<Buffer> storage,
List<ResourceSet> sets,
List<String> welcomePages)
Creates a new
ResourceHandler with the given sets of ResourceSet and the
list of welcome pages mappings. |
Modifier and Type | Method and Description |
---|---|
Factory<Buffer> |
GatewayHttpApplication.getBufferFactory() |
Factory<Buffer> |
AdminHttpApplication.getBufferFactory() |
Copyright 2011-2017 ForgeRock AS.