com.planetj.servlet.filter.compression
Class CompressingServletOutputStream.ResponseBufferCommitmentCallback

java.lang.Object
  extended by com.planetj.servlet.filter.compression.CompressingServletOutputStream.ResponseBufferCommitmentCallback
All Implemented Interfaces:
ThresholdOutputStream.BufferCommitmentCallback
Enclosing class:
CompressingServletOutputStream

private static final class CompressingServletOutputStream.ResponseBufferCommitmentCallback
extends java.lang.Object
implements ThresholdOutputStream.BufferCommitmentCallback


Field Summary
private  CompressingHttpServletResponse response
           
 
Constructor Summary
private CompressingServletOutputStream.ResponseBufferCommitmentCallback(CompressingHttpServletResponse response)
           
 
Method Summary
 void compressingStreamCommitted()
           
 void rawStreamCommitted()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

response

private final CompressingHttpServletResponse response
Constructor Detail

CompressingServletOutputStream.ResponseBufferCommitmentCallback

private CompressingServletOutputStream.ResponseBufferCommitmentCallback(CompressingHttpServletResponse response)
Method Detail

rawStreamCommitted

public void rawStreamCommitted()
Specified by:
rawStreamCommitted in interface ThresholdOutputStream.BufferCommitmentCallback

compressingStreamCommitted

public void compressingStreamCommitted()
Specified by:
compressingStreamCommitted in interface ThresholdOutputStream.BufferCommitmentCallback

toString

@NotNull
public java.lang.String toString()
Overrides:
toString in class java.lang.Object