org.apache.wicket.response
Class ConsoleResponse
java.lang.Object
org.apache.wicket.Response
org.apache.wicket.response.ConsoleResponse
public class ConsoleResponse
- extends Response
A Response implementation which writes to the console.
- Author:
- Jonathan Locke
Methods inherited from class org.apache.wicket.Response |
close, detectContentType, encodeURL, filter, getCharacterEncoding, isRedirect, println, redirect, reset, setCharacterEncoding, setContentLength, setContentType, setLastModifiedTime, setLocale, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static final ConsoleResponse getInstance()
- Returns:
- The one and only instance of NullResponse
write
public void write(CharSequence 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(CharSequence)
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in class Response
- Returns:
- The output stream for this response
- See Also:
Response.getOutputStream()
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.