Serializable, javax.servlet.Filter, javax.servlet.FilterConfigpublic class RotateFilter extends ImageFilter
cropXcropYcropWidthcropHeight| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
PARAM_ANGLE |
angle |
protected static String |
PARAM_ANGLE_UNITS |
angleUnits (RADIANS|DEGREES) |
protected static String |
PARAM_BGCOLOR |
bgcolor |
protected static String |
PARAM_CROP |
crop |
oncePerRequesttriggerParams| Constructor | Description |
|---|---|
RotateFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
protected RenderedImage |
doFilter(BufferedImage pImage,
javax.servlet.ServletRequest pRequest,
ImageServletResponse pResponse) |
Reads the image from the requested URL, rotates it, and returns
it in the
Servlet stream.
|
destroy, doFilter, getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init, log, log, setFilterConfig, setOncePerRequestdoFilterImpl, setTriggerParams, triggerprotected static final String PARAM_ANGLE
angleprotected static final String PARAM_ANGLE_UNITS
angleUnits (RADIANS|DEGREES)protected static final String PARAM_CROP
cropprotected static final String PARAM_BGCOLOR
bgcolorprotected RenderedImage doFilter(BufferedImage pImage, javax.servlet.ServletRequest pRequest, ImageServletResponse pResponse)
doFilter in class ImageFilterpImage - the image to filterpRequest - the servlet requestpResponse - the servlet responseCopyright © 2018. All rights reserved.