Package org.apache.wicket.response
Class NullResponse
- java.lang.Object
-
- org.apache.wicket.request.Response
-
- org.apache.wicket.response.NullResponse
-
public class NullResponse extends org.apache.wicket.request.Response
Response implementation that discards all output.- Author:
- Jonathan Locke
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
encodeURL(java.lang.CharSequence url)
java.lang.Object
getContainerResponse()
static NullResponse
getInstance()
void
write(byte[] array)
void
write(byte[] array, int offset, int length)
void
write(java.lang.CharSequence string)
-
-
-
Method Detail
-
getInstance
public static NullResponse getInstance()
- Returns:
- The one and only instance of NullResponse
-
write
public void write(java.lang.CharSequence string)
- Specified by:
write
in classorg.apache.wicket.request.Response
- See Also:
Response.write(CharSequence)
-
write
public void write(byte[] array)
- Specified by:
write
in classorg.apache.wicket.request.Response
-
write
public void write(byte[] array, int offset, int length)
- Specified by:
write
in classorg.apache.wicket.request.Response
-
encodeURL
public java.lang.String encodeURL(java.lang.CharSequence url)
- Specified by:
encodeURL
in classorg.apache.wicket.request.Response
-
getContainerResponse
public java.lang.Object getContainerResponse()
- Specified by:
getContainerResponse
in classorg.apache.wicket.request.Response
-
-