|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.request.Response
public abstract class Response
Abstract base class for different implementations of response writing.
The implementation may not support calling both write(byte[])
and
write(CharSequence)
on the same Response
instance.
Constructor Summary | |
---|---|
Response()
|
Method Summary | |
---|---|
void |
close()
Closes the response |
abstract java.lang.String |
encodeURL(java.lang.CharSequence url)
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged. |
void |
reset()
Called when the Response needs to reset itself. |
abstract void |
write(byte[] array)
Writes the buffer to output. |
abstract void |
write(java.lang.CharSequence sequence)
Writes the CharSequence to output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Response()
Method Detail |
---|
public abstract void write(java.lang.CharSequence sequence)
CharSequence
to output.
sequence
-
java.lang.IllegalStateException
- if write(byte[])
has already been called on this instancepublic abstract void write(byte[] array)
array
-
java.lang.IllegalStateException
- if write(CharSequence)
has already been called on this instancepublic void close()
public abstract java.lang.String encodeURL(java.lang.CharSequence url)
url
-
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |