1 17 18 package org.apache.coyote.http11; 19 20 import java.io.IOException ; 21 22 import org.apache.tomcat.util.buf.ByteChunk; 23 24 import org.apache.coyote.OutputBuffer; 25 import org.apache.coyote.Response; 26 27 32 public interface OutputFilter extends OutputBuffer { 33 34 35 40 public int doWrite(ByteChunk chunk, Response unused) 41 throws IOException ; 42 43 44 49 public void setResponse(Response response); 50 51 52 55 public void recycle(); 56 57 58 61 public ByteChunk getEncodingName(); 62 63 64 67 public void setBuffer(OutputBuffer buffer); 68 69 70 79 public long end() 80 throws IOException ; 81 82 83 } 84 | Popular Tags |