Package net.sf.jasperreports.jakarta.web
Class FontWebResourceHandler
- java.lang.Object
-
- net.sf.jasperreports.jakarta.web.FontWebResourceHandler
-
- All Implemented Interfaces:
WebResourceHandler
public class FontWebResourceHandler extends Object implements WebResourceHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FontWebResourceHandler.FontFamilyHtmlResourceHandler
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_PARAMETER_FONT_NAME
-
Constructor Summary
Constructors Constructor Description FontWebResourceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResourceBasePath(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
boolean
handleResource(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
protected byte[]
processFont(JasperReportsContext jasperReportsContext, String basePath, HtmlFontFamily htmlFontFamily)
-
-
-
Field Detail
-
REQUEST_PARAMETER_FONT_NAME
public static final String REQUEST_PARAMETER_FONT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleResource
public boolean handleResource(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
- Specified by:
handleResource
in interfaceWebResourceHandler
-
processFont
protected byte[] processFont(JasperReportsContext jasperReportsContext, String basePath, HtmlFontFamily htmlFontFamily)
-
getResourceBasePath
public String getResourceBasePath(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
-
-