JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.gui.web
Class MultiPartJacRequest

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.web.AbstractJacRequest
        |
        +--org.objectweb.jac.aspects.gui.web.MultiPartJacRequest
All Implemented Interfaces:
JacRequest

public class MultiPartJacRequest
extends AbstractJacRequest
implements JacRequest

This class represents a multi-part HttpRequest.


Field Summary
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractJacRequest
DEFAULT_REQUEST_TIMEOUT, semaphore
 
Constructor Summary
MultiPartJacRequest(MultiPartRequest request, HttpServletRequest servletRequest)
           
 
Method Summary
 Object getParameter(String name)
          Returns a parameter.
 Object[] getParameters(String name)
          Returns a parameter.
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractJacRequest
getHeader, getUserAgent, isIEUserAgent, setParent, setResponse, waitForResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.JacRequest
getHeader, getUserAgent, isIEUserAgent, setResponse, waitForResponse
 

Constructor Detail

MultiPartJacRequest

public MultiPartJacRequest(MultiPartRequest request,
                           HttpServletRequest servletRequest)
Method Detail

getParameter

public Object getParameter(String name)
Description copied from interface: JacRequest
Returns a parameter. The result can be a String or a FileParameter object.

Specified by:
getParameter in interface JacRequest
Specified by:
getParameter in class AbstractJacRequest
Parameters:
name - the name of the parameter
Returns:
the value of the parameter (a String a or FileParameter) if the parameter exists in the request, null otherwise.

getParameters

public Object[] getParameters(String name)
Description copied from interface: JacRequest
Returns a parameter. The result can be a String or a FileParameter object.

Specified by:
getParameters in interface JacRequest
Parameters:
name - the name of the parameter
Returns:
the value of the parameter (a String a or FileParameter) if the parameter exists in the request, null otherwise.

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli