|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.request.Response
org.apache.wicket.response.NullResponse
public class NullResponse
Response implementation that discards all output.
| Method Summary | |
|---|---|
String |
encodeURL(CharSequence url)
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged. |
Object |
getContainerResponse()
Provides access to the low-level container response object that implementaion of this Response delegate to. |
static NullResponse |
getInstance()
|
void |
write(byte[] array)
Writes the buffer to output. |
void |
write(byte[] array,
int offset,
int length)
Writes the buffer to output. |
void |
write(CharSequence string)
Writes the CharSequence to output. |
| Methods inherited from class org.apache.wicket.request.Response |
|---|
close, getOutputStream, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final NullResponse getInstance()
public void write(CharSequence string)
ResponseCharSequence to output.
write in class ResponseResponse.write(CharSequence)public void write(byte[] array)
Response
write in class Responsearray - the data.
public void write(byte[] array,
int offset,
int length)
Response
write in class Responsearray - the data.offset - the start offset in the data.length - the number of bytes to write.public String encodeURL(CharSequence url)
Response
encodeURL in class Responsepublic Object getContainerResponse()
ResponseResponse delegate to. This allows users to access features provided by the container
response but not by generalized Wicket Response objects.
getContainerResponse in class Responsenull if none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||