Package com.day.cq.wcm.commons
Class AbstractImageServlet.ImageContext
- java.lang.Object
-
- com.day.cq.wcm.commons.AbstractImageServlet.ImageContext
-
- Enclosing class:
- AbstractImageServlet
public static class AbstractImageServlet.ImageContext extends java.lang.Object
Convenience class that holds useful stuff needed for image generation
-
-
Field Summary
Fields Modifier and Type Field Description Component
component
Page
currentPage
Resource
defaultResource
DiffInfo
diffInfo
Node
node
ValueMap
pageProperties
ValueMap
properties
SlingHttpServletRequest
request
java.lang.String
requestImageType
ResourceResolver
resolver
Resource
resource
Style
style
-
Constructor Summary
Constructors Constructor Description ImageContext(SlingHttpServletRequest request, java.lang.String type)
-
-
-
Field Detail
-
request
public final SlingHttpServletRequest request
-
resource
public final Resource resource
-
defaultResource
public final Resource defaultResource
-
resolver
public final ResourceResolver resolver
-
node
public final Node node
-
properties
public final ValueMap properties
-
style
public final Style style
-
currentPage
public final Page currentPage
-
pageProperties
public final ValueMap pageProperties
-
component
public final Component component
-
requestImageType
public final java.lang.String requestImageType
-
diffInfo
public final DiffInfo diffInfo
-
-
Constructor Detail
-
ImageContext
public ImageContext(SlingHttpServletRequest request, java.lang.String type)
-
-