Serializable
, javax.servlet.Filter
, javax.servlet.FilterConfig
public class RotateFilter extends ImageFilter
cropX
cropY
cropWidth
cropHeight
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 |
oncePerRequest
triggerParams
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, setOncePerRequest
doFilterImpl, setTriggerParams, trigger
protected static final String PARAM_ANGLE
angle
protected static final String PARAM_ANGLE_UNITS
angleUnits (RADIANS|DEGREES)
protected static final String PARAM_CROP
crop
protected static final String PARAM_BGCOLOR
bgcolor
protected RenderedImage doFilter(BufferedImage pImage, javax.servlet.ServletRequest pRequest, ImageServletResponse pResponse)
doFilter
in class ImageFilter
pImage
- the image to filterpRequest
- the servlet requestpResponse
- the servlet responseCopyright © 2018. All rights reserved.