类 FilterServletOutputStream
java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
com.sh.javax.compress.FilterServletOutputStream
- 所有已实现的接口:
Closeable,Flushable,AutoCloseable
public class FilterServletOutputStream
extends jakarta.servlet.ServletOutputStream
Description: 自定义HTTP流,以获取到相应的数据
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 23, 2013
-
构造器概要
构造器构造器说明Wraps the given OutputStream in a DataOutputStream -
方法概要
修饰符和类型方法说明booleanisReady()voidsetWriteListener(jakarta.servlet.WriteListener arg0) voidwrite(byte[] b) Write the given byte array to the streamvoidwrite(byte[] b, int off, int len) Write the bytes in the given array, delimited by the given offset and length, to the streamvoidwrite(int b) Write the given int into the stream从类继承的方法 jakarta.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println从类继承的方法 java.io.OutputStream
close, flush, nullOutputStream
-
构造器详细资料
-
FilterServletOutputStream
Wraps the given OutputStream in a DataOutputStream- 参数:
output- the OutputStream for the servlet
-
-
方法详细资料
-
write
Write the given int into the stream- 指定者:
write在类中OutputStream- 参数:
b- the int to write- 抛出:
IOException- if the underlying stream write fails
-
write
Write the given byte array to the stream- 覆盖:
write在类中OutputStream- 参数:
b- the byte array to write- 抛出:
IOException- if the underlying stream write fails
-
write
Write the bytes in the given array, delimited by the given offset and length, to the stream- 覆盖:
write在类中OutputStream- 参数:
b- the byte array to write fromoff- the offset to begin writing fromlen- the number of bytes to write- 抛出:
IOException- if the underlying stream write fails
-
isReady
public boolean isReady()- 指定者:
isReady在类中jakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener arg0) - 指定者:
setWriteListener在类中jakarta.servlet.ServletOutputStream
-