com.dotmarketing.servlets.image
Class ImageToolAjaxServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.dotmarketing.servlets.image.ImageToolAjaxServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ImageToolAjaxServlet
extends javax.servlet.http.HttpServlet

This servlet resize an image proportionally without placing that image into a box background. The image generated is with the .png extension

Author:
WE
See Also:
Serialized Form

Constructor Summary
ImageToolAjaxServlet()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          resize an image proportionally without placing that image into a box background.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageToolAjaxServlet

public ImageToolAjaxServlet()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
resize an image proportionally without placing that image into a box background. The image generated is with the .png extension

Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2013 dotCMS Inc. All Rights Reserved.