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.
MultiPartJacRequest
public MultiPartJacRequest(MultiPartRequest request,
HttpServletRequest servletRequest)
contains
public boolean contains(String name)
- Description copied from interface:
JacRequest
- Tells wether there is a parameter with a given name
- Specified by:
contains
in interface JacRequest
- Parameters:
name
- the parameter's name whose presence to test
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.
toString
public String toString()
- Overrides:
toString
in class Object