org.utgenome.gwt.utgb.server.app
Class Hello

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.utgenome.gwt.utgb.server.RequestHandlerBase
              extended by org.utgenome.gwt.utgb.server.app.Hello
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, RequestHandler

public class Hello
extends RequestHandlerBase

Request handler that simply returns hello + name

Author:
leo
See Also:
Serialized Form

Constructor Summary
Hello()
           
 
Method Summary
 String getName()
           
 int getYear()
           
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handles the HTTP request
 void setName(String name)
           
 void setYear(int year)
           
 
Methods inherited from class org.utgenome.gwt.utgb.server.RequestHandlerBase
doGet, doPost, validate
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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

Hello

public Hello()
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   IOException
Description copied from interface: RequestHandler
Handles the HTTP request

Specified by:
handle in interface RequestHandler
Specified by:
handle in class RequestHandlerBase
Parameters:
request - the http servlet request
response - the http servlet response
Throws:
javax.servlet.ServletException
IOException

getName

public String getName()

setName

public void setName(String name)

getYear

public int getYear()

setYear

public void setYear(int year)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.