com.acsinet_solutions.cetia4.controller
Interface ActionContext

All Superinterfaces:
ParameterAccessor, RequestContext
All Known Subinterfaces:
MultipartContext, ServletRequestContext
All Known Implementing Classes:
AbstractServletRequestContext, WebServiceServletRequestContext, WebServletRequestContext

public interface ActionContext
extends RequestContext

Extension of RequestContext that defines methods specific for action contexts in portlets and POST/PUT/DELETE requests in servlets.

This interface was inspired on action phase of portlets, but it is also applied for REST servlet applications.

See Also:
AbstractRestServlet.doPost(HttpServletRequest,HttpServletResponse)

Method Summary
 boolean isMultipart()
          Check if the current request is multipart or not.
 void setRenderParameter(java.lang.String name, java.lang.Object value)
          Set a render parameter.
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.RequestContext
getAttribute, getComponentAttribute, getConfiguration, getContextAttribute, getContextPath, getMethod, getPathInfo, getRequestAttribute, getRequestedController, getRequestedPage, getRequestedURI, getRequestType, getSecurityContext, getSessionAttribute, invalidateSession, redirectTo, removeAttribute, removeComponentAttribute, removeContextAttribute, removeRequestAttribute, removeSessionAttribute, sessionExists, setAttribute, setComponentAttribute, setContextAttribute, setFormAttribute, setMessage, setRequestAttribute, setSessionAttribute, setSystemException, setValidationException
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.ParameterAccessor
getParameter, getParameterMap
 

Method Detail

setRenderParameter

void setRenderParameter(java.lang.String name,
                        java.lang.Object value)
Set a render parameter. Although for convenience this method accepts objects, they are internally converted to Strings as they will form part of an HTTP request or other type of response.


isMultipart

boolean isMultipart()
Check if the current request is multipart or not.