Package | Description |
---|---|
org.forgerock.http.io |
Provides stream buffering, branching, and storage functions.
|
org.forgerock.http.protocol |
Models and manages elements of the Hypertext Transfer Protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
FileBranchingStream
A
BranchingInputStream for reading from files. |
Modifier and Type | Method and Description |
---|---|
BranchingInputStream |
FileBranchingStream.branch() |
abstract BranchingInputStream |
BranchingInputStream.branch()
Creates a new branch at this stream's current position.
|
BranchingInputStream |
FileBranchingStream.copy() |
abstract BranchingInputStream |
BranchingInputStream.copy()
Creates a twin of this stream at this stream's current position.
|
static BranchingInputStream |
IO.newBranchingInputStream(byte[] bytes)
Creates a new branching input stream that wraps a byte array.
|
static BranchingInputStream |
IO.newBranchingInputStream(InputStream in,
Factory<Buffer> bufferFactory)
Creates a new branching input stream to wrap another input stream.
|
BranchingInputStream |
BranchingInputStream.parent()
Returns the parent branching input stream from which this branch was
created, or
null if this is the trunk. |
Constructor and Description |
---|
BranchingInputStream(BranchingInputStream parent)
Initialise the
BranchingInputStream with the specified parent. |
Modifier and Type | Method and Description |
---|---|
void |
Entity.setRawContentInputStream(BranchingInputStream is)
Sets the content of this entity to the provided input stream.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.