public class WebReportContext extends Object implements ReportContext
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_CONTEXT_PATH |
static String |
REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR |
static String |
REQUEST_PARAMETER_REPORT_CONTEXT_ID |
REQUEST_PARAMETER_APPLICATION_DOMAIN
Modifier and Type | Method and Description |
---|---|
void |
clearParameterValues() |
boolean |
containsParameter(String parameterName) |
String |
getId() |
static WebReportContext |
getInstance(javax.servlet.http.HttpServletRequest request) |
static WebReportContext |
getInstance(javax.servlet.http.HttpServletRequest request,
boolean create) |
static WebReportContext |
getInstance(javax.servlet.http.HttpServletRequest request,
String reportContextId) |
static WebReportContext |
getInstance(javax.servlet.http.HttpServletRequest request,
String reportContextId,
boolean create) |
Object |
getParameterValue(String parameterName) |
Map<String,Object> |
getParameterValues() |
String |
getSessionAttributeName()
public void setRequest(HttpServletRequest request)
{
//threadLocalRequest.set(request);
requestParameters.clear();
for(@SuppressWarnings("unchecked") Enumeration
|
Object |
removeParameterValue(String parameterName) |
void |
setParameterValue(String parameterName,
Object value) |
void |
setParameterValues(Map<String,Object> newValues) |
public static final String REQUEST_PARAMETER_REPORT_CONTEXT_ID
public static final String REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
public static final String APPLICATION_CONTEXT_PATH
public static final WebReportContext getInstance(javax.servlet.http.HttpServletRequest request)
public static final WebReportContext getInstance(javax.servlet.http.HttpServletRequest request, String reportContextId)
public static final WebReportContext getInstance(javax.servlet.http.HttpServletRequest request, boolean create)
public static final WebReportContext getInstance(javax.servlet.http.HttpServletRequest request, String reportContextId, boolean create)
public String getId()
getId
in interface ReportContext
public String getSessionAttributeName()
public Object getParameterValue(String parameterName)
getParameterValue
in interface ReportContext
public boolean containsParameter(String parameterName)
containsParameter
in interface ReportContext
public void setParameterValue(String parameterName, Object value)
setParameterValue
in interface ReportContext
public Map<String,Object> getParameterValues()
getParameterValues
in interface ReportContext
public Object removeParameterValue(String parameterName)
removeParameterValue
in interface ReportContext
public void clearParameterValues()
clearParameterValues
in interface ReportContext
Copyright © 2019 TIBCO Software Inc.. All rights reserved.