|
deegree 2.5 (2011/06/29 09:44 build-8-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(java.lang.String name,
java.lang.String getSnippetPath,
java.lang.String postSnippetPath,
boolean canPOST,
boolean canGET,
java.util.List<java.lang.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 | |
|---|---|
java.util.List<java.lang.String> |
getHtmlKeys()
|
java.lang.String |
getHtmlText()
|
java.lang.String |
getName()
|
java.lang.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 |
java.lang.String |
getValue()
|
boolean |
isCanGET()
|
boolean |
isCanPOST()
|
protected java.lang.String |
readFileToString(java.lang.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(java.lang.String name,
java.lang.String getSnippetPath,
java.lang.String postSnippetPath,
boolean canPOST,
boolean canGET,
java.util.List<java.lang.String> htmlKeys)
throws java.io.IOException
name - getSnippetPath - postSnippetPath - canPOST - canGET - htmlKeys -
java.io.IOException| Method Detail |
|---|
protected java.lang.String readFileToString(java.lang.String filePath)
throws java.io.IOException
filePath -
java.io.IOExceptionpublic java.lang.String getName()
public java.lang.String getValue()
public boolean isCanGET()
public boolean isCanPOST()
public java.lang.String getHtmlText()
public java.util.List<java.lang.String> getHtmlKeys()
public java.lang.String getPostRequest()
|
deegree 2.5 (2011/06/29 09:44 build-8-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