jbpm-form-modeler-request-dispatcher 6.0.0.CR4-Pre1

org.jbpm.formModeler.service.bb.mvc.controller
Class CommandRequestImpl

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.mvc.controller.CommandRequestImpl
All Implemented Interfaces:
CommandRequest

public class CommandRequestImpl
extends Object
implements CommandRequest

Implementation of a CommandRequest object.


Constructor Summary
CommandRequestImpl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Regular constructor
 
Method Summary
 Map getFilesByParamName()
          Get a map of files, where keys are parameter names used.
 String getParameter(String name)
           
 Set getParameterNames()
          Deprecated. Access request object directly
 javax.servlet.http.HttpServletRequest getRequestObject()
          Returns the original request object
 javax.servlet.http.HttpServletResponse getResponseObject()
          Returns the original response object
 javax.servlet.http.HttpSession getSessionObject()
          Returns the original session object
 int getUploadedFilesCount()
          Returns the number of files being uploaded in the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRequestImpl

public CommandRequestImpl(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
Regular constructor

Method Detail

getRequestObject

public javax.servlet.http.HttpServletRequest getRequestObject()
Description copied from interface: CommandRequest
Returns the original request object

Specified by:
getRequestObject in interface CommandRequest

getParameterNames

public Set getParameterNames()
Deprecated. Access request object directly

Specified by:
getParameterNames in interface CommandRequest
Returns:

getResponseObject

public javax.servlet.http.HttpServletResponse getResponseObject()
Description copied from interface: CommandRequest
Returns the original response object

Specified by:
getResponseObject in interface CommandRequest

getFilesByParamName

public Map getFilesByParamName()
Description copied from interface: CommandRequest
Get a map of files, where keys are parameter names used.

Specified by:
getFilesByParamName in interface CommandRequest
Returns:
files parameter map.

getParameter

public String getParameter(String name)
Specified by:
getParameter in interface CommandRequest

getUploadedFilesCount

public int getUploadedFilesCount()
Description copied from interface: CommandRequest
Returns the number of files being uploaded in the request

Specified by:
getUploadedFilesCount in interface CommandRequest

getSessionObject

public javax.servlet.http.HttpSession getSessionObject()
Description copied from interface: CommandRequest
Returns the original session object

Specified by:
getSessionObject in interface CommandRequest

jbpm-form-modeler-request-dispatcher 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.