railo.runtime.writer
Class CFMLWriterImpl
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
railo.runtime.writer.CFMLWriter
railo.runtime.writer.CFMLWriterImpl
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
- Direct Known Subclasses:
- AbstrCFMLWriterWS, CFMLWriterWS, CFMLWriterWSPref
public class CFMLWriterImpl
- extends CFMLWriter
Implementation of a JSpWriter
Fields inherited from class javax.servlet.jsp.JspWriter |
DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER |
Constructor Summary |
CFMLWriterImpl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int bufferSize,
boolean autoFlush,
boolean closeConn,
boolean showVersion,
boolean contentLength,
boolean allowCompression)
constructor of the class |
Methods inherited from class javax.servlet.jsp.JspWriter |
getBufferSize, isAutoFlush |
CFMLWriterImpl
public CFMLWriterImpl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int bufferSize,
boolean autoFlush,
boolean closeConn,
boolean showVersion,
boolean contentLength,
boolean allowCompression)
- constructor of the class
- Parameters:
response
- Response ObjectbufferSize
- buffer SizeautoFlush
- do auto flush Content
print
public void print(char[] arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(char[])
setBufferConfig
public void setBufferConfig(int bufferSize,
boolean autoFlush)
throws IOException
- reset configuration of buffer
- Specified by:
setBufferConfig
in class CFMLWriter
- Parameters:
bufferSize
- size of the bufferautoFlush
- does the buffer autoflush
- Throws:
IOException
appendHTMLHead
public void appendHTMLHead(String headData)
throws IOException
- Specified by:
appendHTMLHead
in class CFMLWriter
- Parameters:
headData
-
- Throws:
IOException
writeHTMLHead
public void writeHTMLHead(String headData)
throws IOException
- Specified by:
writeHTMLHead
in class CFMLWriter
- Throws:
IOException
getHTMLHead
public String getHTMLHead()
throws IOException
- Specified by:
getHTMLHead
in class CFMLWriter
- Throws:
IOException
- See Also:
CFMLWriter.getHTMLHead()
resetHTMLHead
public void resetHTMLHead()
throws IOException
- Specified by:
resetHTMLHead
in class CFMLWriter
- Throws:
IOException
- See Also:
CFMLWriter.resetHTMLHead()
initHeaderBuffer
public void initHeaderBuffer()
throws IOException
- just a wrapper function for ACF
- Throws:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(char[], int, int)
clear
public void clear()
throws IOException
- Specified by:
clear
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.clear()
clearBuffer
public void clearBuffer()
- Specified by:
clearBuffer
in class javax.servlet.jsp.JspWriter
- See Also:
JspWriter.clearBuffer()
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
Writer.flush()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
Writer.close()
getRemaining
public int getRemaining()
- Specified by:
getRemaining
in class javax.servlet.jsp.JspWriter
- See Also:
JspWriter.getRemaining()
newLine
public void newLine()
throws IOException
- Specified by:
newLine
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.newLine()
print
public void print(boolean arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(boolean)
print
public void print(char arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(char)
print
public void print(int arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(int)
print
public void print(long arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(long)
print
public void print(float arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(float)
print
public void print(double arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(double)
print
public void print(String arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(java.lang.String)
print
public void print(Object arg)
throws IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.print(java.lang.Object)
println
public void println()
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println()
println
public void println(boolean arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(boolean)
println
public void println(char arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(char)
println
public void println(int arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(int)
println
public void println(long arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(long)
println
public void println(float arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(float)
println
public void println(double arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(double)
println
public void println(char[] arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(char[])
println
public void println(String arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(java.lang.String)
println
public void println(Object arg)
throws IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
IOException
- See Also:
JspWriter.println(java.lang.Object)
write
public void write(char[] cbuf)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(char[])
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(int)
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(java.lang.String, int, int)
write
public void write(String str)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(java.lang.String)
writeRaw
public void writeRaw(String str)
throws IOException
- Description copied from class:
CFMLWriter
- write the given string without removing whitespace.
- Specified by:
writeRaw
in class CFMLWriter
- Throws:
IOException
- See Also:
CFMLWriter.writeRaw(java.lang.String)
isFlushed
public boolean isFlushed()
- Returns:
- Returns the flushed.
setClosed
public void setClosed(boolean closed)
- Specified by:
setClosed
in class CFMLWriter
getResponseStream
public OutputStream getResponseStream()
throws IOException
- Specified by:
getResponseStream
in class CFMLWriter
- Throws:
IOException
- See Also:
CFMLWriter.getResponseStream()
doCache
public void doCache(CacheItem ci)
- Specified by:
doCache
in class CFMLWriter
getCacheItem
public CacheItem getCacheItem()
- Specified by:
getCacheItem
in class CFMLWriter
- Returns:
- the cacheResource
getString
public String getString()
setAllowCompression
public void setAllowCompression(boolean allowCompression)
- Specified by:
setAllowCompression
in class CFMLWriter
Copyright © 2012 Railo