uk.ac.ebi.intenz.webapp.controller
Class NonDatabaseCommand
java.lang.Object
uk.ac.ebi.intenz.webapp.controller.Command
uk.ac.ebi.intenz.webapp.controller.NonDatabaseCommand
- Direct Known Subclasses:
- BrowseResultCommand, ChangeCharacterRepresentationCommand
public abstract class NonDatabaseCommand
- extends Command
All commands of this type do not need a connection to the database.
- Version:
- 0.9 - 21-July-2003
- Author:
- Michael Darsow
Field Summary |
protected javax.servlet.ServletContext |
context
|
protected javax.servlet.http.HttpServletRequest |
request
|
protected javax.servlet.http.HttpServletResponse |
response
|
Method Summary |
protected void |
forward(String target)
Forwards to the given target. |
void |
init(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initialises the attributes which will be used to extract information for the command execution. |
Methods inherited from class uk.ac.ebi.intenz.webapp.controller.Command |
process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected javax.servlet.ServletContext context
request
protected javax.servlet.http.HttpServletRequest request
response
protected javax.servlet.http.HttpServletResponse response
NonDatabaseCommand
public NonDatabaseCommand()
init
public void init(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Initialises the attributes which will be used to extract information for the command execution.
- Parameters:
context
- The servlet context.request
- The request object.response
- The response object.
forward
protected void forward(String target)
throws javax.servlet.ServletException,
IOException
- Forwards to the given target.
- Parameters:
target
- A valid URI.
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2013 EMBL-EBI. All Rights Reserved.