|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.molwind.servlet.AbstractCommand
org.molwind.servlet.GetImageCommand
public class GetImageCommand
GetWorldNamesCommand implements a Command which can be invoked by a client via Webservice to get Images
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_COMMAND
Default name of a command |
static java.lang.String |
DEFAULT_WORLD
Default name of a Molwind world. |
static java.lang.String |
IMAGE_PARAM
Name of the parameter, which includes the name of the world. |
static java.lang.String |
PARAM_COMMAND
Name of the parameter, which includes the name of the called command |
static java.lang.String |
PARAM_WORLD
|
| Constructor Summary | |
|---|---|
GetImageCommand()
|
|
| Method Summary | |
|---|---|
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executes the GetImageCommand |
java.lang.String |
getImageLocation()
Get the ImageLocation value. |
void |
setImageLocation(java.lang.String newImageLocation)
Set the ImageLocation value. |
| Methods inherited from class org.molwind.servlet.AbstractCommand |
|---|
writeXML, writeXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IMAGE_PARAM
public static final java.lang.String PARAM_WORLD
public static final java.lang.String DEFAULT_WORLD
public static final java.lang.String PARAM_COMMAND
public static final java.lang.String DEFAULT_COMMAND
| Constructor Detail |
|---|
public GetImageCommand()
| Method Detail |
|---|
public java.lang.String getImageLocation()
public void setImageLocation(java.lang.String newImageLocation)
newImageLocation - The new ImageLocation value.
public void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - an HttpServletRequest object, contains
the request the client has made of the servletresponse - an HttpServletResponse object, contains
the response the client will get from the servlet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||