Java org.apache.wicket.request.http WebResponse fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.request.http WebResponse fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.request.http WebResponse.

The text is from its open source code.

Subclass

org.apache.wicket.request.http.WebResponse has subclasses.
Click this link to see all its subclasses.

Field

DurationMAX_CACHE_DURATION
Recommended value for cache duration

Method

voidaddCookie(final Cookie cookie)
Add a cookie to the web response
voidaddHeader(String name, String value)
Add a value to the servlet response stream.
voidclearCookie(final Cookie cookie)
Convenience method for clearing a cookie.
voiddisableCaching()
Make this response non-cacheable
voidflush()
Flushes the response.
ObjectgetContainerResponse()
Provides access to the low-level container response object that implementaion of this Response delegate to.
OutputStreamgetOutputStream()
Returns an OutputStream suitable for writing binary data in the response.
voidreset()
Called when the Response needs to reset itself.
voidsendError(int sc, String msg)
Send error status code with optional message.
voidsendRedirect(String url)
Redirects the response to specified URL.
voidsetAttachmentHeader(final String filename)
Convenience method for setting the content-disposition:attachment header.
voidsetContentLength(final long length)
Set the content length on the response, if appropriate in the subclass.
voidsetContentType(final String mimeType)
Set the content type on the response, if appropriate in the subclass.
voidsetDateHeader(String name, Time date)
Set a header to the date value in the servlet response stream.
voidsetHeader(String name, String value)
Set a header to the string value in the servlet response stream.
voidsetLastModifiedTime(final Time time)
Set the contents last modified time, if appropriate in the subclass.
voidsetStatus(int sc)
Sets the status code for this response.
voidwrite(byte[] array, int offset, int length)
Writes the buffer to output.
voidwrite(CharSequence sequence)
Writes the CharSequence to output.