|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WindowActionResponse
This interface extends javax.portlet.ActionResponse
to
provide additional convenience methods.
Portlets deployed on WebLogic Portlet Container can cast
javax.portlet.ActionResponse
objects
to this type to access these additional methods.
ActionResponse
Method Summary | |
---|---|
void |
addCookie(javax.servlet.http.Cookie cookie)
Adds a specified cookie to the response. |
void |
addDateHeader(String name,
long date)
Adds a response header with the given name and date value. |
void |
addHeader(String name,
String value)
Adds a response header with the given name and value. |
void |
addIntHeader(String name,
int value)
Adds a response header with the given name and integer value. |
boolean |
containsHeader(String name)
Returns a boolean indicating whether the named response header has already been set. |
void |
setDateHeader(String name,
long date)
Sets a response header with the given name and date value. |
void |
setHeader(String name,
String value)
Sets a response header with the given name and value. |
void |
setIntHeader(String name,
int value)
Sets a response header with the given name and integer value. |
Methods inherited from interface javax.portlet.ActionResponse |
---|
sendRedirect, sendRedirect |
Methods inherited from interface javax.portlet.StateAwareResponse |
---|
getPortletMode, getRenderParameterMap, getWindowState, removePublicRenderParameter, setEvent, setEvent, setPortletMode, setRenderParameter, setRenderParameter, setRenderParameters, setWindowState |
Methods inherited from interface javax.portlet.PortletResponse |
---|
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty |
Method Detail |
---|
void addCookie(javax.servlet.http.Cookie cookie)
Adds a specified cookie to the response.
cookie
- cookieHttpServletResponse.addCookie(Cookie)
void addDateHeader(String name, long date)
Adds a response header with the given name and date value.
name
- namedate
- dateHttpServletResponse.addDateHeader(String,long)
void setDateHeader(String name, long date)
Sets a response header with the given name and date value.
name
- namedate
- dateHttpServletResponse.setDateHeader(String,long)
void addHeader(String name, String value)
Adds a response header with the given name and value.
name
- namevalue
- valueHttpServletResponse.addHeader(String,String)
void setHeader(String name, String value)
Sets a response header with the given name and value.
name
- namevalue
- valueHttpServletResponse.setHeader(String,String)
void addIntHeader(String name, int value)
Adds a response header with the given name and integer value.
name
- namevalue
- valueHttpServletResponse.addIntHeader(String,int)
void setIntHeader(String name, int value)
Sets a response header with the given name and integer value.
name
- namevalue
- valueHttpServletResponse.setIntHeader(String,int)
boolean containsHeader(String name)
Returns a boolean indicating whether the named response header has already been set.
A Cookie header that has been added to the WindowActionResponse should be searched for by using the name of the Cookie, not "Set-Cookie" (the name of a Cookie header) because the Cookie header is not converted into a String value for a "Set-Cookie" header until it is propagated to the inner response.
name
- name
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |