org.apache.wicket.response
Class ByteArrayResponse
java.lang.Object
org.apache.wicket.request.Response
org.apache.wicket.response.ByteArrayResponse
public class ByteArrayResponse
- extends Response
Response used to capture output as a byte array
- Author:
- igor.vaynberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayResponse
public ByteArrayResponse(Response original)
- Constructor
- Parameters:
original
-
ByteArrayResponse
public ByteArrayResponse()
- Constructor
getBytes
public byte[] getBytes()
- Returns:
- bytes
write
public void write(CharSequence string)
- Specified by:
write
in class Response
- See Also:
Response.write(CharSequence)
reset
public void reset()
- Overrides:
reset
in class Response
- See Also:
Response.reset()
write
public void write(byte[] array)
- Specified by:
write
in class Response
- See Also:
Response.getOutputStream()
write
public void write(byte[] array,
int offset,
int length)
- Specified by:
write
in class Response
encodeURL
public String encodeURL(CharSequence url)
- Specified by:
encodeURL
in class Response
getContainerResponse
public Object getContainerResponse()
- Specified by:
getContainerResponse
in class Response
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.