@Deprecated public abstract class MVCServletHandlerImpl extends Object implements MVCServletHandler
Modifier and Type | Field and Description |
---|---|
protected Throwable |
exception
Deprecated.
|
protected javax.servlet.http.HttpServletRequest |
request
Deprecated.
|
protected javax.servlet.http.HttpServletResponse |
response
Deprecated.
|
protected static String |
VIEW_ERROR
Deprecated.
|
protected static String |
VIEW_SUCCESS
Deprecated.
|
VIEW_NOTHING
Modifier | Constructor and Description |
---|---|
protected |
MVCServletHandlerImpl(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
execute(String command)
Deprecated.
Call the method through reflection.
|
String |
getCommand()
Deprecated.
Returns the name of the command we want to execute.
|
Throwable |
getException()
Deprecated.
Getter for
exception . |
String |
getExceptionStackTrace()
Deprecated.
Returns the stacktrace from the exception as a String.
|
String |
getName()
Deprecated.
The name of the handler.
|
javax.servlet.http.HttpServletRequest |
getRequest()
Deprecated.
|
javax.servlet.http.HttpServletResponse |
getResponse()
Deprecated.
|
void |
init()
Deprecated.
Called after instantiating.
|
protected void |
populateFromRequest(Object bean)
Deprecated.
|
void |
setCommand(String command)
Deprecated.
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
void |
setResponse(javax.servlet.http.HttpServletResponse response)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderHtml
protected static final String VIEW_ERROR
protected static final String VIEW_SUCCESS
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
protected Throwable exception
protected MVCServletHandlerImpl(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void init()
MVCServletHandler
init
in interface MVCServletHandler
protected void populateFromRequest(Object bean)
public String getName()
MVCServletHandler
getName
in interface MVCServletHandler
MVCServletHandler.getName()
public String execute(String command)
execute
in interface MVCServletHandler
public void setRequest(javax.servlet.http.HttpServletRequest request)
request
- The request to set.public javax.servlet.http.HttpServletRequest getRequest()
public void setResponse(javax.servlet.http.HttpServletResponse response)
response
- The response to set.public javax.servlet.http.HttpServletResponse getResponse()
public String getCommand()
MVCServletHandler
getCommand
in interface MVCServletHandler
public void setCommand(String command)
command
- The command to set.public Throwable getException()
exception
.public String getExceptionStackTrace()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.