public class CFMLWriterImpl extends CFMLWriter
Constructor and Description |
---|
CFMLWriterImpl(PageContext pc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int bufferSize,
boolean autoFlush,
boolean closeConn,
boolean showVersion,
boolean contentLength)
constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
appendHTMLBody(String text) |
void |
appendHTMLHead(String text) |
void |
clear() |
void |
clearBuffer() |
void |
close() |
void |
doCache(CacheItem ci) |
void |
flush() |
void |
flushHTMLBody() |
void |
flushHTMLHead() |
CacheItem |
getCacheItem() |
String |
getHTMLBody() |
String |
getHTMLHead() |
int |
getRemaining() |
OutputStream |
getResponseStream() |
String |
getString() |
void |
initHeaderBuffer()
just a wrapper function for ACF
|
boolean |
isFlushed() |
void |
newLine() |
void |
print(boolean arg) |
void |
print(char arg) |
void |
print(char[] arg) |
void |
print(double arg) |
void |
print(float arg) |
void |
print(int arg) |
void |
print(long arg) |
void |
print(Object arg) |
void |
print(String arg) |
void |
println() |
void |
println(boolean arg) |
void |
println(char arg) |
void |
println(char[] arg) |
void |
println(double arg) |
void |
println(float arg) |
void |
println(int arg) |
void |
println(long arg) |
void |
println(Object arg) |
void |
println(String arg) |
void |
resetHTMLBody() |
void |
resetHTMLHead() |
void |
setAllowCompression(boolean allowCompression) |
void |
setBufferConfig(int bufferSize,
boolean autoFlush)
reset configuration of buffer
|
void |
setClosed(boolean closed) |
String |
toString() |
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
void |
writeHTMLBody(String text) |
void |
writeHTMLHead(String text) |
void |
writeRaw(String str)
write the given string without removing whitespace.
|
public CFMLWriterImpl(PageContext pc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int bufferSize, boolean autoFlush, boolean closeConn, boolean showVersion, boolean contentLength)
response
- Response ObjectbufferSize
- buffer SizeautoFlush
- do auto flush Contentpublic void print(char[] arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(char[])
public void setBufferConfig(int bufferSize, boolean autoFlush) throws IOException
setBufferConfig
in class CFMLWriter
bufferSize
- size of the bufferautoFlush
- does the buffer autoflushIOException
public void appendHTMLBody(String text) throws IOException
appendHTMLBody
in class CFMLWriter
IOException
public void writeHTMLBody(String text) throws IOException
writeHTMLBody
in class CFMLWriter
IOException
public String getHTMLBody() throws IOException
getHTMLBody
in class CFMLWriter
IOException
public void flushHTMLBody() throws IOException
flushHTMLBody
in class CFMLWriter
IOException
public void resetHTMLBody() throws IOException
resetHTMLBody
in class CFMLWriter
IOException
CFMLWriter.resetHTMLHead()
public void appendHTMLHead(String text) throws IOException
appendHTMLHead
in class CFMLWriter
text
- IOException
public void writeHTMLHead(String text) throws IOException
writeHTMLHead
in class CFMLWriter
IOException
public String getHTMLHead() throws IOException
getHTMLHead
in class CFMLWriter
IOException
CFMLWriter.getHTMLHead()
public void flushHTMLHead() throws IOException
flushHTMLHead
in class CFMLWriter
IOException
public void resetHTMLHead() throws IOException
resetHTMLHead
in class CFMLWriter
IOException
CFMLWriter.resetHTMLHead()
public void initHeaderBuffer() throws IOException
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
Writer.write(char[], int, int)
public void clear() throws IOException
clear
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.clear()
public void clearBuffer()
clearBuffer
in class javax.servlet.jsp.JspWriter
JspWriter.clearBuffer()
public void flush() throws IOException
flush
in interface Flushable
flush
in class javax.servlet.jsp.JspWriter
IOException
Writer.flush()
public String toString()
toString
in class Object
Object.toString()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class javax.servlet.jsp.JspWriter
IOException
Writer.close()
public int getRemaining()
getRemaining
in class javax.servlet.jsp.JspWriter
JspWriter.getRemaining()
public void newLine() throws IOException
newLine
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.newLine()
public void print(boolean arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(boolean)
public void print(char arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(char)
public void print(int arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(int)
public void print(long arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(long)
public void print(float arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(float)
public void print(double arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(double)
public void print(String arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(java.lang.String)
public void print(Object arg) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.print(java.lang.Object)
public void println() throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println()
public void println(boolean arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(boolean)
public void println(char arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(char)
public void println(int arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(int)
public void println(long arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(long)
public void println(float arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(float)
public void println(double arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(double)
public void println(char[] arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(char[])
public void println(String arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(java.lang.String)
public void println(Object arg) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
JspWriter.println(java.lang.Object)
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
Writer.write(char[])
public void write(int c) throws IOException
write
in class Writer
IOException
Writer.write(int)
public void write(String str, int off, int len) throws IOException
write
in class Writer
IOException
Writer.write(java.lang.String, int, int)
public void write(String str) throws IOException
write
in class Writer
IOException
Writer.write(java.lang.String)
public void writeRaw(String str) throws IOException
CFMLWriter
writeRaw
in class CFMLWriter
IOException
CFMLWriter.writeRaw(java.lang.String)
public boolean isFlushed()
public void setClosed(boolean closed)
setClosed
in class CFMLWriter
public OutputStream getResponseStream() throws IOException
getResponseStream
in class CFMLWriter
IOException
CFMLWriter.getResponseStream()
public void doCache(CacheItem ci)
doCache
in class CFMLWriter
public CacheItem getCacheItem()
getCacheItem
in class CFMLWriter
public void setAllowCompression(boolean allowCompression)
setAllowCompression
in class CFMLWriter
Copyright © 2015 Lucee