public class StringResponse extends Response
Modifier and Type | Field and Description |
---|---|
protected AppendingStringBuffer |
out
StringWriter to write to
|
Constructor and Description |
---|
StringResponse()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
CharSequence |
getBuffer() |
Object |
getContainerResponse()
Provides access to the low-level container response object that implementaion of this
Response delegate to. |
void |
reset()
Called when the Response needs to reset itself.
|
String |
toString() |
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. |
close, getOutputStream
protected final AppendingStringBuffer out
public void write(CharSequence string)
Response
CharSequence
to output.write
in class Response
Response.write(CharSequence)
public void reset()
Response
reset
in class Response
Response.reset()
public String toString()
toString
in class Object
Object.toString()
public CharSequence getBuffer()
CharSequence
public void write(byte[] array)
Response
public void write(byte[] array, int offset, int length)
Response
public String encodeURL(CharSequence url)
Response
public Object getContainerResponse()
Response
Response
delegate to. This allows users to access features provided by the container
response but not by generalized Wicket Response
objects.getContainerResponse
in class Response
null
if noneCopyright © 2006–2022 Apache Software Foundation. All rights reserved.