public class StreamUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
BOUNDARY_PREFIX
A byte sequence that precedes a boundary (
CRLF--). |
static Integer |
BUFFER_SIZE
The default length of the buffer used for processing a request.
|
static byte |
CR
The Carriage Return ASCII character value.
|
static byte[] |
CRLF
A byte sequence that follows a delimiter that will be followed by an encapsulation (
CRLF). |
static byte |
DASH
The dash (-) ASCII character value.
|
static byte |
LF
The Line Feed ASCII character value.
|
static byte[] |
STREAM_TERMINATOR
A byte sequence that that follows a delimiter of the last encapsulation in the stream (
--). |
| Constructor and Description |
|---|
StreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
copyLarge(InputStream input,
OutputStream output) |
static InputStream |
unwrapCursorStream(Object object) |
public static final byte CR
public static final byte LF
public static final byte DASH
public static final byte[] CRLF
CRLF).public static final byte[] STREAM_TERMINATOR
--).public static final byte[] BOUNDARY_PREFIX
CRLF--).public static Integer BUFFER_SIZE
public static long copyLarge(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static InputStream unwrapCursorStream(Object object)
Copyright © 2025. All rights reserved.