org.utgenome.gwt.utgb.server
Interface RequestHandler

All Known Implementing Classes:
ACGT, BEDViewer, BSSReadView, ChromosomeMap, CSEGViewer, DASDsn, DASViewer, DotPlot, EchoBackView, FontMetric, FontPanel, GeneViewer, Hello, KeywordSearch, LoadView, MethylViewer, ReadView, RequestHandlerBase, RoundCircle, SAMViewer, ScaleBar, Sequence, SnappyVersion, SQLiteAccessSample, TextLabel, Transparent, UsingTemplate, WebTrackBase

public interface RequestHandler

An interface to handler web request

Author:
leo

Method Summary
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handles the HTTP request
 void validate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Validate request parameters
 

Method Detail

handle

void handle(javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   IOException
Handles the HTTP request

Parameters:
request - the http servlet request
response - the http servlet response
Throws:
javax.servlet.ServletException
IOException

validate

void validate(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     UTGBException
Validate request parameters

Throws:
javax.servlet.ServletException
UTGBException


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