|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.io.InputStream
org.apache.struts.upload.MultipartValueStream
This class implements an inputStream that reads another stream until a multipart boundary is found. The class reports eof when boundary found. The undelying stream is not closed.
See RFC 1867 (http://info.internet.isi.edu:80/in-notes/rfc/files/rfc1867.txt) for details about the protocol.
| フィールドの概要 | |
private byte[] |
boundaryBytes
推奨されていません。 byte buffer with the boundary |
private boolean |
boundaryReached
推奨されていません。 have we reached the boundary? |
private boolean |
finalBoundaryReached
推奨されていません。 is the boundary found a final boundary? |
static java.lang.String |
HEADER_ENCODING
推奨されていません。 |
private java.io.InputStream |
in
推奨されていません。 the underlying stream |
private int |
matchedBoundaryBytes
推奨されていません。 how many curretly matched boundary bytes? |
private int |
readAheadBufferEndI
推奨されていません。 The end index for the read ahead cyclic buffer (points to the last byte) |
private int |
readAheadBufferStartI
推奨されていません。 The start index for the read ahead cyclic buffer (points to the first byte) |
private byte[] |
readAheadBytes
推奨されていません。 the read ahead buffer (cyclic) |
| クラス java.io.InputStream から継承したフィールド |
|
| コンストラクタの概要 | |
MultipartValueStream(java.io.InputStream in,
java.lang.String boundary)
推奨されていません。 Create a stream that stops reading at the boundary NOTE: the boundary parameter is without the trailing dashes "--". |
|
| メソッドの概要 | |
boolean |
encounteredFinalBoundary()
推奨されていません。 |
int |
read()
推奨されていません。 Read the next byte |
| クラス java.io.InputStream から継承したメソッド |
available, close, mark, markSupported, read, read, reset, skip |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final java.lang.String HEADER_ENCODING
private java.io.InputStream in
private byte[] boundaryBytes
private int matchedBoundaryBytes
private byte[] readAheadBytes
private int readAheadBufferStartI
private int readAheadBufferEndI
private boolean boundaryReached
private boolean finalBoundaryReached
| コンストラクタの詳細 |
public MultipartValueStream(java.io.InputStream in,
java.lang.String boundary)
throws java.io.IOException
| メソッドの詳細 |
public int read()
throws java.io.IOException
java.io.IOException - if the ending boundary is never found
public boolean encounteredFinalBoundary()
throws javax.servlet.ServletException
javax.servlet.ServletException - if the boundary has not yet been reached
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||