public class ImagingServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ImagingServlet(ImagingModule imagingModule) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected ImageGenerator |
getGenerator(String generatorName) |
protected String |
getImageGeneratorName(javax.servlet.http.HttpServletRequest request)
Determines the ImageGenerator to use, using the first path element of the
pathInfo.
|
protected ImagingModuleConfig |
getImagingConfiguration()
Deprecated.
since 3.2. Use
getImagingModule() . |
protected ImagingModule |
getImagingModule() |
protected ImageStreamer |
getStreamer(ParameterProviderFactory parameterProviderFactory) |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
@Inject public ImagingServlet(ImagingModule imagingModule)
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected String getImageGeneratorName(javax.servlet.http.HttpServletRequest request)
protected ImageGenerator getGenerator(String generatorName)
protected ImageStreamer getStreamer(ParameterProviderFactory parameterProviderFactory)
@Deprecated protected ImagingModuleConfig getImagingConfiguration()
getImagingModule()
.protected ImagingModule getImagingModule()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.