org.outerj.xreporter.client
Class XReporterRequest
java.lang.Object
org.outerj.xreporter.client.XReporterRequest
- public class XReporterRequest
- extends java.lang.Object
This object describes a request to be sent to XReporter by XReporterClient.processRequest(org.outerj.xreporter.client.XReporterRequest)
.
Constructor Summary |
XReporterRequest(java.lang.String path,
short method,
java.lang.String user,
java.lang.String lang,
java.util.Map parameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected java.lang.String path
user
protected java.lang.String user
lang
protected java.lang.String lang
parameters
protected java.util.Map parameters
method
protected short method
GET_METHOD
public static final short GET_METHOD
- See Also:
- Constant Field Values
POST_METHOD
public static final short POST_METHOD
- See Also:
- Constant Field Values
XReporterRequest
public XReporterRequest(java.lang.String path,
short method,
java.lang.String user,
java.lang.String lang,
java.util.Map parameters)
- Parameters:
path
- XReporter request path (e.g. /datasources, /reports/<id>/...)method
- One of the constants GET_METHOD, POST_METHODuser
- id of the userlang
- language code like "nl-BE" (lang-COUNTRY ISO codes)parameters
- parameters like you would get them from ServletRequest.getParameterMap. This
means that every key in the map must be a string representing the name of the parameter, and
every value must a String array (only parameters with at least one value will be considered,
and only the first value of the parameter will be passed to XReporter)
getPath
public java.lang.String getPath()
getUser
public java.lang.String getUser()
getLang
public java.lang.String getLang()
getParameters
public java.util.Map getParameters()
getMethod
public short getMethod()