|
rewrite-impl-servlet 1.0.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.OperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.servlet.config.Response
public abstract class Response
Responsible for adding various properties such as headers and cookies to the HttpServletResponse
| Constructor Summary | |
|---|---|
Response()
|
|
| Method Summary | |
|---|---|
static Response |
addCookie(javax.servlet.http.Cookie cookie)
Create an Operation that adds a Cookie to the HttpServletResponse |
static Response |
addDateHeader(java.lang.String name,
long value)
Create an Operation that adds a date header to the HttpServletResponse |
static Response |
addHeader(java.lang.String name,
java.lang.String value)
Create an Operation that adds a header to the HttpServletResponse |
static Response |
addIntHeader(java.lang.String name,
int value)
Create an Operation that adds an int header to the HttpServletResponse |
static Response |
setCode(int code)
|
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpOperation |
|---|
perform, performHttp |
| Methods inherited from class org.ocpsoft.rewrite.config.OperationBuilder |
|---|
and |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Response()
| Method Detail |
|---|
public static Response addHeader(java.lang.String name,
java.lang.String value)
Operation that adds a header to the HttpServletResponse
public static Response addDateHeader(java.lang.String name,
long value)
Operation that adds a date header to the HttpServletResponse
public static Response addIntHeader(java.lang.String name,
int value)
Operation that adds an int header to the HttpServletResponse
public static Response addCookie(javax.servlet.http.Cookie cookie)
Operation that adds a Cookie to the HttpServletResponse
public static Response setCode(int code)
|
rewrite-impl-servlet 1.0.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||