public abstract class NonDatabaseCommand extends Command
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.ServletContext |
context |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
| Constructor and Description |
|---|
NonDatabaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected javax.servlet.ServletContext context
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
public void init(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
context - The servlet context.request - The request object.response - The response object.protected void forward(String target) throws javax.servlet.ServletException, IOException
target - A valid URI.javax.servlet.ServletExceptionIOExceptionCopyright © 2014 EMBL-EBI. All Rights Reserved.