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) |
CharSequence |
getBuffer() |
Object |
getContainerResponse() |
void |
reset() |
String |
toString() |
void |
write(byte[] array) |
void |
write(byte[] array,
int offset,
int length) |
void |
write(CharSequence string) |
close, getOutputStream
protected final AppendingStringBuffer out
public void write(CharSequence string)
write
in class Response
Response.write(CharSequence)
public void reset()
reset
in class Response
Response.reset()
public String toString()
toString
in class Object
Object.toString()
public CharSequence getBuffer()
CharSequence
public String encodeURL(CharSequence url)
public Object getContainerResponse()
getContainerResponse
in class Response
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.