EAF 6.4 Implementation

com.lutris.appserver.server.httpPresentation.servlet
Class ServletHttpPresentationOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream
          extended bycom.lutris.appserver.server.httpPresentation.servlet.ServletHttpPresentationOutputStream

public class ServletHttpPresentationOutputStream
extends com.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream

HTTP request output stream writter for servlets. This implements all methods that are defined in OutputStream as calles to the servlet object, since we don't know which ones are implemented by ServletOutputStream.

See Also:
ServletOutputStream

Constructor Summary
protected ServletHttpPresentationOutputStream(ServletHttpPresentationResponse response, javax.servlet.ServletOutputStream outputStream)
          Construct an object for accessing a servlet output stream.
 
Method Summary
 void flush()
           
 void print(boolean b)
          Prints the boolean provided.
 void print(char c)
           
 void print(double d)
          Prints the double provided.
 void print(float f)
          Prints the float provided.
 void print(int i)
          Prints the integer provided.
 void print(long l)
          Prints the long provided.
 void print(java.lang.String s)
          Prints the string provided.
 void println()
          Prints a CRLF.
 void println(boolean b)
          Prints the boolean provided, followed by a CRLF.
 void println(char c)
           
 void println(double d)
          Prints the double provided, followed by a CRLF.
 void println(float f)
          Prints the float provided, followed by a CRLF.
 void println(int i)
          Prints the integer provided, followed by a CRLF.
 void println(long l)
          Prints the long provided, followed by a CRLF.
 void println(java.lang.String s)
          Prints the string provided, followed by a CRLF.
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class com.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletHttpPresentationOutputStream

protected ServletHttpPresentationOutputStream(ServletHttpPresentationResponse response,
                                              javax.servlet.ServletOutputStream outputStream)
Construct an object for accessing a servlet output stream.

Method Detail

print

public void print(java.lang.String s)
           throws java.io.IOException
Prints the string provided.

Throws:
java.io.IOException - if an I/O error has occurred

print

public void print(boolean b)
           throws java.io.IOException
Prints the boolean provided.

Throws:
java.io.IOException - if an I/O error has occurred.

print

public void print(char c)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(int i)
           throws java.io.IOException
Prints the integer provided.

Throws:
java.io.IOException - if an I/O error has occurred

print

public void print(long l)
           throws java.io.IOException
Prints the long provided.

Throws:
java.io.IOException - if an I/O error has occurred

print

public void print(float f)
           throws java.io.IOException
Prints the float provided.

Throws:
java.io.IOException - if an I/O error has occurred

print

public void print(double d)
           throws java.io.IOException
Prints the double provided.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println()
             throws java.io.IOException
Prints a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println(java.lang.String s)
             throws java.io.IOException
Prints the string provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println(boolean b)
             throws java.io.IOException
Prints the boolean provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred.

println

public void println(char c)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(int i)
             throws java.io.IOException
Prints the integer provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println(long l)
             throws java.io.IOException
Prints the long provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println(float f)
             throws java.io.IOException
Prints the float provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

println

public void println(double d)
             throws java.io.IOException
Prints the double provided, followed by a CRLF.

Throws:
java.io.IOException - if an I/O error has occurred

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

EAF 6.4 Implementation