类 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
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
     
    void
    setWriteListener(jakarta.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

    从类继承的方法 jakarta.servlet.ServletOutputStream

    print, print, print, print, print, print, print, println, println, println, println, println, println, println, println

    从类继承的方法 java.io.OutputStream

    close, flush, nullOutputStream

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • FilterServletOutputStream

      public FilterServletOutputStream(OutputStream output)
      Wraps the given OutputStream in a DataOutputStream
      参数:
      output - the OutputStream for the servlet
  • 方法详细资料

    • write

      public void write(int b) throws IOException
      Write the given int into the stream
      指定者:
      write 在类中 OutputStream
      参数:
      b - the int to write
      抛出:
      IOException - if the underlying stream write fails
    • write

      public void write(byte[] b) throws IOException
      Write the given byte array to the stream
      覆盖:
      write 在类中 OutputStream
      参数:
      b - the byte array to write
      抛出:
      IOException - if the underlying stream write fails
    • write

      public void write(byte[] b, int off, int len) throws IOException
      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 from
      off - the offset to begin writing from
      len - 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