Package net.sf.jasperreports.web.util
Class AbstractWebResourceHandler
- java.lang.Object
-
- net.sf.jasperreports.web.util.AbstractWebResourceHandler
-
- All Implemented Interfaces:
WebResourceHandler
- Direct Known Subclasses:
DefaultWebResourceHandler
,JiveWebResourceHandler
public abstract class AbstractWebResourceHandler extends Object implements WebResourceHandler
- Author:
- Narcis Marcu ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTIES_WEB_RESOURCE_PATTERN_PREFIX
static String
PROPERTY_ACCESS_CONTROL_ALLOW_ORIGIN
Boolean property to control the setting of the response header Access-Control-Allow-Origin to *
-
Constructor Summary
Constructors Constructor Description AbstractWebResourceHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WebResource
getResource(JasperReportsContext jasperReportsContext, javax.servlet.http.HttpServletRequest request, String resource)
boolean
handleResource(JasperReportsContext jasperReportsContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Field Detail
-
PROPERTIES_WEB_RESOURCE_PATTERN_PREFIX
public static final String PROPERTIES_WEB_RESOURCE_PATTERN_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_ACCESS_CONTROL_ALLOW_ORIGIN
public static final String PROPERTY_ACCESS_CONTROL_ALLOW_ORIGIN
Boolean property to control the setting of the response header Access-Control-Allow-Origin to *- See Also:
- Constant Field Values
-
-
Method Detail
-
handleResource
public boolean handleResource(JasperReportsContext jasperReportsContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Specified by:
handleResource
in interfaceWebResourceHandler
-
getResource
public abstract WebResource getResource(JasperReportsContext jasperReportsContext, javax.servlet.http.HttpServletRequest request, String resource)
-
-