|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.server.StiltsContext
public class StiltsContext
Encapsulates servlet context aspects specific to the STILTS server mode.
Field Summary | |
---|---|
static String |
TABLEFACTORY_PARAM
Name of a Servlet initialisation parameter which can be used to customise table location. |
static String |
TASKBASE_PARAM
Name of the Servlet initialisation parameter which defines the base URL on the server at which the TaskServlet runs. |
static String |
TASKLIST_PARAM
Name of the Servlet initialisation parameter which defines the tasks which this servlet will provide over HTTP. |
Constructor Summary | |
---|---|
StiltsContext(javax.servlet.ServletContext context)
Constructor. |
Method Summary | |
---|---|
uk.ac.starlink.table.StarTableFactory |
getTableFactory()
Acquires a StarTableFactory suitable for use from a servlet from the servlet context. |
String |
getTaskBase()
Returns the server URL below which task servlets can be accessed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TASKBASE_PARAM
public static String TASKLIST_PARAM
public static String TABLEFACTORY_PARAM
TableFactoryParameter.createTableFactory(java.lang.String)
method to come up with a StarTableFactory which is used instead of the
default one.
Constructor Detail |
---|
public StiltsContext(javax.servlet.ServletContext context)
context
- servlet context which provides the information for
this objectMethod Detail |
---|
public uk.ac.starlink.table.StarTableFactory getTableFactory() throws javax.servlet.ServletException
javax.servlet.ServletException
public String getTaskBase()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |