org.nakedobjects.plugins.html.request
Class ServletRequest

java.lang.Object
  extended by org.nakedobjects.plugins.html.request.ServletRequest
All Implemented Interfaces:
Request

public class ServletRequest
extends java.lang.Object
implements Request


Field Summary
 
Fields inherited from interface org.nakedobjects.plugins.html.request.Request
COLLECTION_COMMAND, EDIT_COMMAND, FIELD_COLLECTION_COMMAND, LOGON_COMMAND, OBJECT_COMMAND, SERVICE_COMMAND, TASK_COMMAND
 
Constructor Summary
ServletRequest(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 void forward(Request forwardRequest)
           
 java.lang.String getActionId()
           
 java.lang.String getButtonName()
          Name of the button pressed on the form.
 java.lang.String getElementId()
          The element within a collection.
 java.lang.String getFieldEntry(int i)
          The users entry into a field on the form.
 Request getForward()
           
 java.lang.String getName()
           
 java.lang.String getObjectId()
           
 java.lang.String getProperty()
          Name of a property within an object.
 java.lang.String getRequestType()
          Name of the request.
 java.lang.String getTaskId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletRequest

public ServletRequest(javax.servlet.http.HttpServletRequest request)
Method Detail

forward

public void forward(Request forwardRequest)
Specified by:
forward in interface Request

getActionId

public java.lang.String getActionId()
Specified by:
getActionId in interface Request

getProperty

public java.lang.String getProperty()
Description copied from interface: Request
Name of a property within an object.

Specified by:
getProperty in interface Request

getElementId

public java.lang.String getElementId()
Description copied from interface: Request
The element within a collection.

Specified by:
getElementId in interface Request

getFieldEntry

public java.lang.String getFieldEntry(int i)
Description copied from interface: Request
The users entry into a field on the form.

Specified by:
getFieldEntry in interface Request

getTaskId

public java.lang.String getTaskId()
Specified by:
getTaskId in interface Request

getForward

public Request getForward()
Specified by:
getForward in interface Request

getName

public java.lang.String getName()
Specified by:
getName in interface Request

getObjectId

public java.lang.String getObjectId()
Specified by:
getObjectId in interface Request

getRequestType

public java.lang.String getRequestType()
Description copied from interface: Request
Name of the request. See the constants defined in this class.

Specified by:
getRequestType in interface Request

getButtonName

public java.lang.String getButtonName()
Description copied from interface: Request
Name of the button pressed on the form.

Specified by:
getButtonName in interface Request

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.