public class ByteArrayResponse extends Response
Constructor and Description |
---|
ByteArrayResponse()
Constructor
|
ByteArrayResponse(Response original)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
encodeURL(CharSequence url) |
byte[] |
getBytes() |
Object |
getContainerResponse() |
void |
reset() |
void |
write(byte[] array) |
void |
write(byte[] array,
int offset,
int length) |
void |
write(CharSequence string) |
close, getOutputStream
public ByteArrayResponse(Response original)
original
- public ByteArrayResponse()
public byte[] getBytes()
public void write(CharSequence string)
write
in class Response
Response.write(CharSequence)
public void reset()
reset
in class Response
Response.reset()
public void write(byte[] array)
write
in class Response
Response.getOutputStream()
public String encodeURL(CharSequence url)
public Object getContainerResponse()
getContainerResponse
in class Response
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.