|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.portal.owswatch.configs.ServiceRequest
public class ServiceRequest
Holds the information about a certain request of a certain service, which http methods, this request cn use and what are its htmlKeys
Constructor Summary | |
---|---|
ServiceRequest(String name,
String getSnippetPath,
String postSnippetPath,
boolean canPOST,
boolean canGET,
List<String> htmlKeys)
A constructor to instantate a class describing the service name and its corresponding html code that accepts specific paramters for this request |
Method Summary | |
---|---|
List<String> |
getHtmlKeys()
|
String |
getHtmlText()
|
String |
getName()
|
String |
getPostRequest()
Reads an example xml file for a post request, will be used mainly for GetCapabilities. but its also possbible to assign it to any request type |
String |
getValue()
|
boolean |
isCanGET()
|
boolean |
isCanPOST()
|
protected String |
readFileToString(String filePath)
Reads the html snippet file and save it as a String variable to be used later by the DHTML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceRequest(String name, String getSnippetPath, String postSnippetPath, boolean canPOST, boolean canGET, List<String> htmlKeys) throws IOException
name
- getSnippetPath
- postSnippetPath
- canPOST
- canGET
- htmlKeys
-
IOException
Method Detail |
---|
protected String readFileToString(String filePath) throws IOException
filePath
-
IOException
public String getName()
public String getValue()
public boolean isCanGET()
public boolean isCanPOST()
public String getHtmlText()
public List<String> getHtmlKeys()
public String getPostRequest()
|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org