📄 multipartboundaryinputstream.html
字号:
<HR>
<A NAME="inputStream"><!-- --></A><H3>
inputStream</H3>
<PRE>
protected java.io.InputStream <B>inputStream</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The InputStream to read from.</DL>
<HR>
<A NAME="boundary"><!-- --></A><H3>
boundary</H3>
<PRE>
protected java.lang.String <B>boundary</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The boundary.</DL>
<HR>
<A NAME="boundaryEncountered"><!-- --></A><H3>
boundaryEncountered</H3>
<PRE>
protected boolean <B>boundaryEncountered</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Whether or not the boundary has been encountered.</DL>
<HR>
<A NAME="finalBoundaryEncountered"><!-- --></A><H3>
finalBoundaryEncountered</H3>
<PRE>
protected boolean <B>finalBoundaryEncountered</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Whether or not the final boundary has been encountered.</DL>
<HR>
<A NAME="endOfStream"><!-- --></A><H3>
endOfStream</H3>
<PRE>
protected boolean <B>endOfStream</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Whether or not the end of the stream has been read.</DL>
<HR>
<A NAME="elementContentDisposition"><!-- --></A><H3>
elementContentDisposition</H3>
<PRE>
protected java.lang.String <B>elementContentDisposition</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The Content-Disposition for the current form element being read.</DL>
<HR>
<A NAME="elementName"><!-- --></A><H3>
elementName</H3>
<PRE>
protected java.lang.String <B>elementName</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The name of the current form element being read.</DL>
<HR>
<A NAME="elementContentType"><!-- --></A><H3>
elementContentType</H3>
<PRE>
protected java.lang.String <B>elementContentType</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The Content-Type of the current form element being read.</DL>
<HR>
<A NAME="elementFileName"><!-- --></A><H3>
elementFileName</H3>
<PRE>
protected java.lang.String <B>elementFileName</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The filename of the current form element being read, <code>null</code> if the current form element is text data.</DL>
<HR>
<A NAME="elementCharset"><!-- --></A><H3>
elementCharset</H3>
<PRE>
protected java.lang.String <B>elementCharset</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The character encoding of the element, specified in the element's Content-Type header.</DL>
<HR>
<A NAME="maxLength"><!-- --></A><H3>
maxLength</H3>
<PRE>
protected long <B>maxLength</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The maximum length in bytes to read from the stream at a time, or -1 for unlimited length.</DL>
<HR>
<A NAME="maxLengthMet"><!-- --></A><H3>
maxLengthMet</H3>
<PRE>
protected boolean <B>maxLengthMet</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Whether or not the maximum length has been met.</DL>
<HR>
<A NAME="bytesRead"><!-- --></A><H3>
bytesRead</H3>
<PRE>
protected long <B>bytesRead</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The total number of bytes read so far.</DL>
<HR>
<A NAME="boundaryBytes"><!-- --></A><H3>
boundaryBytes</H3>
<PRE>
private byte[] <B>boundaryBytes</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="finalBoundaryBytes"><!-- --></A><H3>
finalBoundaryBytes</H3>
<PRE>
private byte[] <B>finalBoundaryBytes</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="line"><!-- --></A><H3>
line</H3>
<PRE>
private byte[] <B>line</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="lineSize"><!-- --></A><H3>
lineSize</H3>
<PRE>
private int <B>lineSize</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="lineLength"><!-- --></A><H3>
lineLength</H3>
<PRE>
private int <B>lineLength</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="lineHasNewline"><!-- --></A><H3>
lineHasNewline</H3>
<PRE>
private boolean <B>lineHasNewline</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="lineHasCarriage"><!-- --></A><H3>
lineHasCarriage</H3>
<PRE>
private boolean <B>lineHasCarriage</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="lineIndex"><!-- --></A><H3>
lineIndex</H3>
<PRE>
private int <B>lineIndex</B></PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="MultipartBoundaryInputStream()"><!-- --></A><H3>
MultipartBoundaryInputStream</H3>
<PRE>
public <B>MultipartBoundaryInputStream</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setBoundary(java.lang.String)"><!-- --></A><H3>
setBoundary</H3>
<PRE>
public void <B>setBoundary</B>(java.lang.String boundary)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Sets the boundary that terminates the data for the stream, after adding the prefix "--"</DL>
<HR>
<A NAME="resetForNextBoundary()"><!-- --></A><H3>
resetForNextBoundary</H3>
<PRE>
public void <B>resetForNextBoundary</B>() throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Resets this stream for use with the next element, to be used after a boundary is encountered.</DL>
<HR>
<A NAME="setInputStream(java.io.InputStream)"><!-- --></A><H3>
setInputStream</H3>
<PRE>
public void <B>setInputStream</B>(java.io.InputStream stream) throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Sets the input stream used to read multipart data. For efficiency purposes, make sure that the stream you set on this class is buffered. The way this class reads lines is that it continually calls the read() method until it reaches a newline character. That would be terrible if you were to set a socket's input stream here, but not as bad on a buffered stream.</DL>
<HR>
<A NAME="read()"><!-- --></A><H3>
read</H3>
<PRE>
public int <B>read</B>() throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Reads from the stream. Returns -1 if it's the end of the stream or if a boundary is encountered.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="read(byte[])"><!-- --></A><H3>
read</H3>
<PRE>
public int <B>read</B>(byte[] buffer) throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD><DL>
<DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="read(byte[], int, int)"><!-- --></A><H3>
read</H3>
<PRE>
public int <B>read</B>(byte[] buffer, int offset, int length) throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD><DL>
<DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="mark(int)"><!-- --></A><H3>
mark</H3>
<PRE>
public void <B>mark</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Marks the underlying stream.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>mark</CODE> in class <CODE>java.io.InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>() throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Resets the underlying input stream.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>reset</CODE> in class <CODE>java.io.InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setMaxLength(long)"><!-- --></A><H3>
setMaxLength</H3>
<PRE>
public void <B>setMaxLength</B>(long maxLength)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Set the maximum length in bytes to read, or -1 for an unlimited length.</DL>
<HR>
<A NAME="getMaxLength()"><!-- --></A><H3>
getMaxLength</H3>
<PRE>
public long <B>getMaxLength</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<HR>
<A NAME="isMaxLengthMet()"><!-- --></A><H3>
isMaxLengthMet</H3>
<PRE>
public boolean <B>isMaxLengthMet</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Whether or not the maximum length has been met.</DL>
<HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -