| Package | Description |
|---|---|
| org.ocpsoft.rewrite.servlet.config |
| Modifier and Type | Method and Description |
|---|---|
static Response |
Response.addCookie(Cookie cookie)
|
static Response |
Response.addDateHeader(String name,
long value)
Create an
Operation that adds a date header to the HttpServletResponse |
static Response |
Response.addHeader(String name,
String value)
Create an
Operation that adds a header to the HttpServletResponse |
static Response |
Response.addIntHeader(String name,
int value)
|
static Response |
Response.setCode(int code)
Create an
Operation that sets the HttpServletResponse.setStatus(int) code of the current
HttpServletResponse. |
static Response |
Response.withOutputInterceptedBy(ResponseContentInterceptor... buffers)
Create an
Operation that adds the given ResponseContentInterceptor instances to the current
ServletResponse. |
static Response |
Response.withOutputStreamWrappedBy(ResponseStreamWrapper... wrappers)
Create an
Operation that adds the given ResponseStreamWrapper instances to the current
ServletResponse. |
static Response |
Response.write(byte... bytes)
Create an
Operation that writes the given bytes to the current HttpServletResponse upon execution. |
static Response |
Response.write(InputStream stream)
Create an
Operation that writes the contents of the given InputStream current
HttpServletResponse upon execution. |
static Response |
Response.write(Object value)
Create an
Operation that writes the String value of the given Object to the current
HttpServletResponse upon execution. |
Copyright © 2013 OCPsoft. All Rights Reserved.