wicket.response
Class ConsoleResponse

java.lang.Object
  extended bywicket.Response
      extended bywicket.response.ConsoleResponse

public class ConsoleResponse
extends Response

A Response implementation which writes to the console.

Author:
Jonathan Locke

Method Summary
static ConsoleResponse getInstance()
           
 java.io.OutputStream getOutputStream()
           
 void write(java.lang.String string)
          Writes the given string to the Response subclass output destination.
 
Methods inherited from class wicket.Response
close, encodeURL, isRedirect, redirect, setContentLength, setContentType, setLastModifiedTime, setLocale, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final ConsoleResponse getInstance()
Returns:
The one and only instance of NullResponse

write

public void write(java.lang.String string)
Description copied from class: Response
Writes the given string to the Response subclass output destination.

Specified by:
write in class Response
Parameters:
string - The string to write
See Also:
Response.write(java.lang.String)

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in class Response
Returns:
The output stream for this response
See Also:
Response.getOutputStream()


Copyright © 2004-2005 Wicket developers. All Rights Reserved.