@Deprecated public class HttpMultipartInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
boundary
Deprecated.
|
protected byte[] |
buf
Deprecated.
|
static byte[] |
CRLF
Deprecated.
|
protected int |
end
Deprecated.
|
protected int |
head
Deprecated.
|
protected int |
len
Deprecated.
|
protected int |
state
Deprecated.
|
protected int |
tail
Deprecated.
|
in| Modifier | Constructor and Description |
|---|---|
protected |
HttpMultipartInputStream(InputStream in,
byte[] boundary)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Deprecated.
|
protected boolean |
fill()
Deprecated.
Fills the buffer with more data from the underlying stream.
|
protected void |
findBoundary()
Deprecated.
Finds the first (potential) boundary within the buffer's remaining data.
|
boolean |
markSupported()
Deprecated.
|
boolean |
nextPart()
Deprecated.
Advances the stream position to the beginning of the next part.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
long |
skip(long len)
Deprecated.
|
close, mark, read, resetpublic static final byte[] CRLF
protected final byte[] boundary
protected final byte[] buf
protected int head
protected int tail
protected int end
protected int len
protected int state
protected HttpMultipartInputStream(InputStream in, byte[] boundary)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long len)
throws IOException
skip in class FilterInputStreamIOExceptionpublic int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreampublic boolean nextPart()
throws IOException
IOException - if an error occursprotected boolean fill()
throws IOException
IOException - if an error occurs or the input format is invalidprotected void findBoundary()
throws IOException
IOException - if an error occurs or the input format is invalidCopyright © 2025. All rights reserved.