| java.lang.Object com.caucho.portal.generic.context.AbstractResponseHandler
All known Subclasses: com.caucho.portal.generic.context.CachingResponseHandler, com.caucho.portal.generic.context.RendererResponseHandler, com.caucho.portal.generic.context.BufferedResponseHandler,
AbstractResponseHandler | public class AbstractResponseHandler implements ResponseHandler(Code) | | A ResponseHandler that wraps another ResponseHandler. Derived classes
override the print() and write() methods to intercept the output.
flushBuffer(), reset(), and resetBuffer() DO NOT propagate to the
wrapped stream (they do nothing in the implementations for this class)
|
AbstractResponseHandler | public AbstractResponseHandler()(Code) | | |
flushBuffer | public void flushBuffer() throws IOException(Code) | | flushBuffer(), reset(), and resetBuffer() DO NOT propagate to the
wrapped stream (they do nothing in the implementations for this class)
|
getBufferSize | public int getBufferSize()(Code) | | |
getCharacterEncoding | public String getCharacterEncoding()(Code) | | |
getErrorCause | public Exception getErrorCause()(Code) | | Return an exception if this ResponseHandler has failed.
|
isCommitted | public boolean isCommitted()(Code) | | |
isError | public boolean isError()(Code) | | |
print | protected void print(char buf, int off, int len) throws IOException(Code) | | Write chars out to the underlying Writer
|
print | protected void print(String str, int off, int len) throws IOException(Code) | | Write chars out to the underlying Writer
|
print | protected void print(char c) throws IOException(Code) | | Write a char out to the underlying Writer
|
reset | public void reset()(Code) | | flushBuffer(), reset(), and resetBuffer() DO NOT propagate to the
wrapped stream (they do nothing in the implementations for this class)
|
resetBuffer | public void resetBuffer()(Code) | | flushBuffer(), reset(), and resetBuffer() DO NOT propagate to the
wrapped stream (they do nothing in the implementations for this class)
|
setBufferSize | public void setBufferSize(int bufferSize)(Code) | | |
setContentType | public void setContentType(String contentType)(Code) | | |
setError | protected void setError(Exception cause)(Code) | | Set an error with a cause.
|
write | protected void write(byte[] buf, int off, int len) throws IOException(Code) | | Write bytes out to the underlying OutputStream
|
write | protected void write(byte b) throws IOException(Code) | | Write a byte out to the underlying OutputStream
|
|
|