xecure.file
Class XecureFileOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--javax.servlet.ServletOutputStream
|
+--xecure.file.XecureFileOutputStream
- public class XecureFileOutputStream
- extends javax.servlet.ServletOutputStream
XecureFileOutputStream Ŭ·¡½º´Â XecureWeb À» Àû¿ëÇÑ ¼ºí¸´, JSP ¿¡¼ »ç¿ëµÇ´Â OutputStream ÀÌ´Ù.
ÀÌ OutputStream À» ÅëÇØ Response µÇ´Â µ¥ÀÌŸ¸¦ ¾ÏÈ£È ÇÑ´Ù.
Field Summary |
javax.servlet.http.HttpServletResponse |
rep
|
javax.servlet.http.HttpServletRequest |
req
|
Method Summary |
void |
close()
close of ServletOutputStream |
void |
fileDownload()
ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö
download the file requested with "filePath"parameter of FileDownload function
of Client control. |
void |
fileDownload(java.lang.String filename)
ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö |
void |
flush()
flush of ServletOutputStream |
java.lang.String |
getFileName()
flush of ServletOutputStream |
void |
print(java.lang.String s)
Print string. |
void |
println()
Print linefeed. |
void |
println(java.lang.String x)
Print a string following linefeed. |
void |
write(int c)
Write a single character. |
Methods inherited from class javax.servlet.ServletOutputStream |
print,
print,
print,
print,
print,
print,
println,
println,
println,
println,
println,
println |
Methods inherited from class java.io.OutputStream |
write,
write |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
rep
public javax.servlet.http.HttpServletResponse rep
req
public javax.servlet.http.HttpServletRequest req
XecureFileOutputStream
public XecureFileOutputStream(XecureSession xecureSession,
XecureHttpServletRequest request,
XecureHttpServletResponse response,
javax.servlet.ServletOutputStream out)
throws java.io.IOException
- XecureFileOutputStream constructor
- Parameters:
xecureSession
- ¾ÏÈ£ ¼¼¼Ç Á¤º¸request
- request of XecureServletresponse
- response of XecureServletout
- µðÆúÆ® ¼ºí¸´ÀÇ response.getOutputStream()
close
public void close()
throws java.io.IOException
- close of ServletOutputStream
- Overrides:
- close in class java.io.OutputStream
flush
public void flush()
throws java.io.IOException
- flush of ServletOutputStream
- Overrides:
- flush in class java.io.OutputStream
getFileName
public java.lang.String getFileName()
- flush of ServletOutputStream
fileDownload
public void fileDownload()
throws java.io.IOException
- ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö
download the file requested with "filePath"parameter of FileDownload function
of Client control.
fileDownload
public void fileDownload(java.lang.String filename)
throws java.io.IOException
- ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö
- Parameters:
filename
- download the file indicated by "filename" with no regads to request by FileDownload function
of Client control
write
public void write(int c)
throws java.io.IOException
- Write a single character.
- Overrides:
- write in class java.io.OutputStream
println
public void println()
throws java.io.IOException
- Print linefeed.
- Overrides:
- println in class javax.servlet.ServletOutputStream
println
public void println(java.lang.String x)
throws java.io.IOException
- Print a string following linefeed.
- Overrides:
- println in class javax.servlet.ServletOutputStream
print
public void print(java.lang.String s)
throws java.io.IOException
- Print string.
- Overrides:
- print in class javax.servlet.ServletOutputStream