public class ImageWebResourceHandler extends Object implements WebResourceHandler
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_JASPERPRINT_NOT_FOUND |
static String |
EXCEPTION_MESSAGE_KEY_REPORT_CONTEXT_NOT_FOUND |
static String |
REQUEST_PARAMETER_IMAGE_NAME |
Constructor and Description |
---|
ImageWebResourceHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleResource(JasperReportsContext jasperReportsContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected byte[] |
process(JasperReportsContext jasperReportsContext,
Renderable renderer,
Dimension dimension,
Color backcolor) |
public static final String EXCEPTION_MESSAGE_KEY_JASPERPRINT_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_REPORT_CONTEXT_NOT_FOUND
public static final String REQUEST_PARAMETER_IMAGE_NAME
public boolean handleResource(JasperReportsContext jasperReportsContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
handleResource
in interface WebResourceHandler
protected byte[] process(JasperReportsContext jasperReportsContext, Renderable renderer, Dimension dimension, Color backcolor) throws JRException
JRException
Copyright © 2017. All rights reserved.