|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.mapservice.SimpleExtensionService
Provides an easy way to write an extension service.
Field Summary | |
static java.lang.String |
SIMPLE_EXTENSION_SERVICE_NODE
|
Constructor Summary | |
SimpleExtensionService()
Creates new SimpleExtensionService |
Method Summary | |
abstract void |
doGet(Request inRequest,
Response inResponse)
Called when a request is sent to this service. |
static FilterInfo[] |
getFilters(java.lang.String inString)
Parse any filter information from the string. |
static java.lang.String[] |
getListFromString(java.lang.String inString)
Returns a list from the given comma separated string. |
abstract java.lang.String |
getName()
Called to identify this service. |
Node |
getNode()
Called to get the configuration information for this service. |
protected Server |
getServer()
Gets the reference to the server should it be needed for anything. |
static Envelope |
parseBoundingBox(java.lang.String inBBOXString)
Reads the Envelope from the string sent in, good for reading bounding boxes from a url parameter. |
static void |
setFilter(FilterInfo[] inFilters,
Layer inLayer)
set the filter information for the layer. |
void |
setNode(Node inNode)
Called to set the configuration information for this service. |
void |
setServer(Server inServer)
Sets the servier within the extender. |
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 SIMPLE_EXTENSION_SERVICE_NODE
Constructor Detail |
public SimpleExtensionService()
Method Detail |
public void setServer(Server inServer)
setServer
in interface ExtensionService
protected Server getServer()
public abstract java.lang.String getName()
getName
in interface ExtensionService
public void setNode(Node inNode)
setNode
in interface ExtensionService
public Node getNode()
getNode
in interface ExtensionService
public static Envelope parseBoundingBox(java.lang.String inBBOXString) throws java.lang.Exception
java.lang.Exception
public abstract void doGet(Request inRequest, Response inResponse) throws java.lang.Exception
doGet
in interface ExtensionService
java.lang.Exception
public static java.lang.String[] getListFromString(java.lang.String inString)
public static FilterInfo[] getFilters(java.lang.String inString)
public static void setFilter(FilterInfo[] inFilters, Layer inLayer)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |