org.hccp.servlet
Class Ipv4ColorSwatchGenerator

java.lang.Object
  |
  +--HttpServlet
        |
        +--org.hccp.servlet.Ipv4ColorSwatchGenerator

public class Ipv4ColorSwatchGenerator
extends HttpServlet

A servlet to generate color swatches (GIF or JPEG) from client IP addresses. It allows for two request parameters 'height' and 'width' to dynamically set the dimensions of the returned image. Please make sure that the parameters passed are parseable to Integers.

See Also:
Serialized Form

Constructor Summary
Ipv4ColorSwatchGenerator()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ipv4ColorSwatchGenerator

public Ipv4ColorSwatchGenerator()
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
ServletException
java.io.IOException