xecure.servlet
Class XecureOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjavax.servlet.ServletOutputStream
          extended byxecure.servlet.XecureOutputStream

public class XecureOutputStream
extends javax.servlet.ServletOutputStream

XecureOutputStream Ŭ·¡½º´Â XecureWeb À» Àû¿ëÇÑ ¼­ºí¸´, JSP ¿¡¼­ »ç¿ëµÇ´Â OutputStream ÀÌ´Ù. ÀÌ OutputStream À» ÅëÇØ Response µÇ´Â µ¥ÀÌŸ¸¦ ¾Ïȣȭ ÇÑ´Ù.


Constructor Summary
XecureOutputStream(XecureSession xecureSession, javax.servlet.ServletOutputStream out, int buffer_size)
          XecureOutputStream constructor
 
Method Summary
 void close()
          servlet¹öÀü¿¡¼­´Â Ç×»ó ³¡¿¡¼­ ºÒ·¶´Ù.
 void flush()
          ±âº»ÀûÀ¸·Î ÆÄÀÏÀÇ ³¡¿¡¼­ ºÒ·ÁÁø´Ù.
 void print(boolean b)
          Print a boolean.
 void print(char c)
          Print a char.
 void print(double d)
          Print a double.
 void print(float f)
          Print a float.
 void print(int i)
          Print an integer.
 void print(long l)
          Print a long integer.
 void print(java.lang.String s)
          Print string.
 void println()
          Print linefeed.
 void println(boolean x)
          Print a boolean value following linefeed.
 void println(char x)
          Print a char following linefeed.
 void println(double x)
          Print a double following linefeed.
 void println(float x)
          Print a float following linefeed.
 void println(int x)
          Print an integer following linefeed.
 void println(long x)
          Print a long following linefeed.
 void println(java.lang.String x)
          Print a string following linefeed.
 java.lang.String rawEncrypt(java.lang.String plain)
           
 void write(byte[] buf)
          Print byte buffer.
 void write(byte[] buf, int off, int len)
          ±âº» Ãâ·ÂÇÔ¼ö
 void write(int c)
          Write a single character.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XecureOutputStream

public XecureOutputStream(XecureSession xecureSession,
                          javax.servlet.ServletOutputStream out,
                          int buffer_size)
XecureOutputStream constructor

Parameters:
xecureSession - ¾ÏÈ£ ¼¼¼Ç Á¤º¸
out - ¼­ºí¸´ ¿£Áø µðÆúÆ® PrintWriter
buffer_size - ¾ÏȣȭÇÒ µ¥ÀÌŸ¸¦ ÀúÀåÇÏ´Â ¹öÆÛ Å©±â
Method Detail

close

public void close()
           throws java.io.IOException
servlet¹öÀü¿¡¼­´Â Ç×»ó ³¡¿¡¼­ ºÒ·¶´Ù. ÇÏÁö¸¸ jsp ¿¡¼­´Â ±âº»ÀûÀ¸·Î ºÒ¸®Áö ¾Ê´Â´Ù. ±×·¯¹Ç·Î ¸í½ÃÀûÀ¸·Î È£ÃâÇÏÁö ¾ÊÀ¸¸é »ç¿ëµÇÁö ¾Ê´Â´Ù.

Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
±âº»ÀûÀ¸·Î ÆÄÀÏÀÇ ³¡¿¡¼­ ºÒ·ÁÁø´Ù. Áï close()¸¦ ´ë½ÅÇÏ°Ô µÈ´Ù. ÇÏÁö¸¸ jsp ¿¡¼­´Â ±âº»ÀûÀ¸·Î.jsp ÆÄÀÏÀÇ ³¡¿¡¼­ ºÒ¸°´Ù. BEGIN_ENC ¿Í ¸ÅĪµÇ´Â END_ENC °¡ ¾øÀ» ¶§ ÇöÀç´Â BEGIN_ENC ´ÙÀ½ÀÇ ³»¿ëÀº È­¸é¿¡ Ãâ·ÂµÇÁö ¾Ê´Â´Ù. ¸¸¾à ¿À·ù ¸Þ½ÃÁö¸¦ ³»°í ½Í´Ù¸é ¿©±â¼­ ó¸®ÇÏ¸é µÈ´Ù.

Throws:
java.io.IOException

write

public void write(byte[] buf,
                  int off,
                  int len)
           throws java.io.IOException
±âº» Ãâ·ÂÇÔ¼ö

Parameters:
buf - character buffer array
off - offset
len - Ãâ·ÂÇÒ µ¥ÀÌŸ ±æÀÌ
Throws:
java.io.IOException

write

public void write(int c)
           throws java.io.IOException
Write a single character.

Throws:
java.io.IOException

write

public void write(byte[] buf)
           throws java.io.IOException
Print byte buffer.

Throws:
java.io.IOException

print

public void print(boolean b)
           throws java.io.IOException
Print a boolean. If true, prints "true", else prints "false".

Throws:
java.io.IOException

print

public void print(char c)
           throws java.io.IOException
Print a char.

Throws:
java.io.IOException

print

public void print(int i)
           throws java.io.IOException
Print an integer.

Throws:
java.io.IOException

print

public void print(long l)
           throws java.io.IOException
Print a long integer.

Throws:
java.io.IOException

print

public void print(float f)
           throws java.io.IOException
Print a float.

Throws:
java.io.IOException

print

public void print(double d)
           throws java.io.IOException
Print a double.

Throws:
java.io.IOException

println

public void println()
             throws java.io.IOException
Print linefeed.

Throws:
java.io.IOException

println

public void println(boolean x)
             throws java.io.IOException
Print a boolean value following linefeed.

Throws:
java.io.IOException

println

public void println(char x)
             throws java.io.IOException
Print a char following linefeed.

Throws:
java.io.IOException

println

public void println(int x)
             throws java.io.IOException
Print an integer following linefeed.

Throws:
java.io.IOException

println

public void println(long x)
             throws java.io.IOException
Print a long following linefeed.

Throws:
java.io.IOException

println

public void println(float x)
             throws java.io.IOException
Print a float following linefeed.

Throws:
java.io.IOException

println

public void println(double x)
             throws java.io.IOException
Print a double following linefeed.

Throws:
java.io.IOException

println

public void println(java.lang.String x)
             throws java.io.IOException
Print a string following linefeed.

Throws:
java.io.IOException

print

public void print(java.lang.String s)
           throws java.io.IOException
Print string.

Throws:
java.io.IOException

rawEncrypt

public java.lang.String rawEncrypt(java.lang.String plain)