fr.xebia.servlet.filter
Class ExpiresFilter.XServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
fr.xebia.servlet.filter.ExpiresFilter.XServletOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- ExpiresFilter
public class ExpiresFilter.XServletOutputStream
- extends javax.servlet.ServletOutputStream
Wrapping extension of ServletOutputStream to trap the
"Start Write Response Body" event.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpiresFilter.XServletOutputStream
public ExpiresFilter.XServletOutputStream(javax.servlet.ServletOutputStream servletOutputStream,
javax.servlet.http.HttpServletRequest request,
ExpiresFilter.XHttpServletResponse response)
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class OutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
IOException
print
public void print(boolean b)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(char c)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(double d)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(float f)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(int i)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(long l)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
print
public void print(String s)
throws IOException
- Overrides:
print in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println()
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(boolean b)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(char c)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(double d)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(float f)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(int i)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(long l)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
println
public void println(String s)
throws IOException
- Overrides:
println in class javax.servlet.ServletOutputStream
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
Copyright © 2012. All Rights Reserved.