org.talika.tarsis.command
Interface Request

All Known Implementing Classes:
RequestImpl

public interface Request

Interface that defines a client request in Tarsis MVC Framework.

Request object transports all information of a request from controller servlet to the command action.Request is intended to decouple Tarsis commands layer from Servlet layer.

Version:
$Revision: 108 $
Author:
Jose M. Palomar

Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Returns the value of the especified attribute in request.
 java.util.Map getAttributes()
          Returns a map with all attributes in request.
 java.lang.Object getParameter(java.lang.String name)
          Returns the value of the specified parameter in request.
 java.util.Map getParameters()
          Returns a map with all parameters in request.
 User getRemoteUser()
          Returns de user who made the request.
 Session getSession()
          Returns the session associated with request.
 

Method Detail

getParameter

java.lang.Object getParameter(java.lang.String name)
Returns the value of the specified parameter in request.

Parameters:
name - String name of parameter.
Returns:
Object value of parameter or null if not found.

getParameters

java.util.Map getParameters()
Returns a map with all parameters in request.

Returns:
Map map with all parameters in request.

getAttribute

java.lang.Object getAttribute(java.lang.String name)
Returns the value of the especified attribute in request.

Parameters:
name - String name of attribute.
Returns:
Object value of attribute or null if not found.

getAttributes

java.util.Map getAttributes()
Returns a map with all attributes in request.

Returns:
Map map with all attributes in request.

getSession

Session getSession()
Returns the session associated with request.

Returns:
Session session associated with request.

getRemoteUser

User getRemoteUser()
Returns de user who made the request.

Returns:
User user who made the request.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.