|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.SDataServer
public class SDataServer
Class holds elements to contact a web server
Constructor Summary | |
---|---|
SDataServer(javax.servlet.http.HttpServletRequest request)
Constructs an instance of the SDataServer class representing the
server handling the request. |
|
SDataServer(java.lang.String protocol,
java.lang.String port,
java.lang.String applicationContext,
java.lang.String serverName,
java.lang.String applicationName,
java.lang.String contractName,
java.lang.String dataSet)
Constructs a new SDataServer |
Method Summary | |
---|---|
java.lang.String |
getContractName()
Gets the contract name of the SData server request. |
java.lang.String |
getListOfApplicationsURL()
Get the URL representing the List of Applications based on the data from the initial request or SDataServer instantiation information. |
java.lang.String |
getListOfContractsURL()
Get the URL representing the List of Contracts based on the data from the initial request or SDataServer instantiation information. |
java.lang.String |
getListOfDatasetsURL()
Get the URL representing the List of Datasets based on the data from the initial request or SDataServer instantiation information. |
java.lang.String |
getServerURL()
String form of external server URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDataServer(java.lang.String protocol, java.lang.String port, java.lang.String applicationContext, java.lang.String serverName, java.lang.String applicationName, java.lang.String contractName, java.lang.String dataSet)
protocol
- Either http / https is supported. Should not be nullport
- Should not be nullapplicationContext
- May be null. The default is an empty stringserverName
- Should not be nullapplicationName
- Should not be nullcontractName
- Should not be nulldataSet
- My be null. When null, and "-" is used to represent the dataset
portion.
java.lang.IllegalArgumentException
- If arguments are null except for applicationContext and dataSetpublic SDataServer(javax.servlet.http.HttpServletRequest request)
SDataServer
class representing the
server handling the request.
request
- HttpServletRequest
Method Detail |
---|
public java.lang.String getServerURL()
public java.lang.String getListOfApplicationsURL()
public java.lang.String getListOfContractsURL()
public java.lang.String getListOfDatasetsURL()
public java.lang.String getContractName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |