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

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.WebTrackBase
                  extended by org.utgenome.gwt.utgb.server.app.Sequence
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, RequestHandler

public class Sequence
extends WebTrackBase

SubSequence retrieves a genome sequence of the specified target in the range (start, end) (inclusive)

Author:
leo
See Also:
Serialized Form

Nested Class Summary
 class Sequence.GraphicalOutput
           
static class Sequence.JSONOutput
          Output a sequence as JSON
static class Sequence.SequenceRetrieverBase
           
static class Sequence.TextOutput
          Output a sequence as text
static class Sequence.XMLOutput
          Output a sequence as XML
 
Field Summary
 String colorA
           
 String colorC
           
 String colorG
           
 String colorN
           
 String colorT
           
 String dbGroup
           
 int end
           
 String name
           
 String path
           
 String revision
           
 String species
           
 int start
           
 int width
           
 
Constructor Summary
Sequence()
           
 
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
 
Methods inherited from class org.utgenome.gwt.utgb.server.WebTrackBase
createSQL, createSQLFromFile, createSQLStatement, getActionPrefix, getActionSuffix, getDatabaseAccess, getHTTPRequestQueryString, getProjectRootPath, getTrackConfigProperty, loadJSON, loadJSON, openAction, openAction, toJSON
 
Methods inherited from class org.utgenome.gwt.utgb.server.RequestHandlerBase
doGet, doPost
 
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
 

Field Detail

colorA

public String colorA

colorC

public String colorC

colorG

public String colorG

colorT

public String colorT

colorN

public String colorN

dbGroup

public String dbGroup

species

public String species

revision

public String revision

start

public int start

end

public int end

name

public String name

width

public int width

path

public String path
Constructor Detail

Sequence

public Sequence()
Method Detail

validate

public void validate(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     UTGBException
Description copied from interface: RequestHandler
Validate request parameters

Specified by:
validate in interface RequestHandler
Overrides:
validate in class RequestHandlerBase
Throws:
javax.servlet.ServletException
UTGBException

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


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