public class FilterServletOutputStream
extends javax.servlet.ServletOutputStream
Description: 自定义HTTP流,以获取到相应的数据
Title:首亨软件 - TSS/CRM等
| 构造器和说明 |
|---|
FilterServletOutputStream(java.io.OutputStream output)
Wraps the given OutputStream in a DataOutputStream
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isReady() |
void |
setWriteListener(javax.servlet.WriteListener arg0) |
void |
write(byte[] b)
Write the given byte array to the stream
|
void |
write(byte[] b,
int off,
int len)
Write the bytes in the given array, delimited by the given
offset and length, to the stream
|
void |
write(int b)
Write the given int into the stream
|
public FilterServletOutputStream(java.io.OutputStream output)
output - the OutputStream for the servletpublic void write(int b)
throws java.io.IOException
write 在类中 java.io.OutputStreamb - the int to writejava.io.IOException - if the underlying stream write failspublic void write(byte[] b)
throws java.io.IOException
write 在类中 java.io.OutputStreamb - the byte array to writejava.io.IOException - if the underlying stream write failspublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write 在类中 java.io.OutputStreamb - the byte array to write fromoff - the offset to begin writing fromlen - the number of bytes to writejava.io.IOException - if the underlying stream write failspublic boolean isReady()
isReady 在类中 javax.servlet.ServletOutputStreampublic void setWriteListener(javax.servlet.WriteListener arg0)
setWriteListener 在类中 javax.servlet.ServletOutputStream