All Packages Class Hierarchy This Package Previous Next Index
Class CAS.CAS_CLIENT.App_CasConnection
java.lang.Object
|
+----CAS.CAS_CLIENT.App_CasConnection
- public class App_CasConnection
- extends Object
App_CasConnection: the main part of the API which is used by the client application
to communicate with the server
-
App_CasConnection(String, String, String, URL)
- parameters clientID: the ID of the client
clientSkFile the name of the client's Secret Key file name
serverPkFile the name of the server's Public Key file name
URL is the url of the server
-
getResultable()
- returns the hashtable containing result set
-
gettable()
-
returns the hashtable
-
getValue(String)
- returns the value of given field
-
PostObject1(String)
- Flushes the request to the server at the given URI for hashtable
-
PostObject2(String)
- Flushes request to the server at the given URI for query
-
PostObject3(String)
- Flushes request to the server at the given URI for cookie deletion
-
registerCookie(String)
- registers cookie
-
registerQuery(String)
- registers query
-
registerRequest(String)
- registers the demands of fields
-
registerRequest(String, String)
- registers object of request, and parameters
App_CasConnection
public App_CasConnection(String clientID,
String clientSkFile,
String serverPkFile,
URL url)
- parameters clientID: the ID of the client
clientSkFile the name of the client's Secret Key file name
serverPkFile the name of the server's Public Key file name
URL is the url of the server
registerRequest
public void registerRequest(String name,
String value)
- registers object of request, and parameters
registerRequest
public void registerRequest(String name)
- registers the demands of fields
registerQuery
public void registerQuery(String query_in)
- registers query
registerCookie
public void registerCookie(String cookie_in)
- registers cookie
PostObject1
public void PostObject1(String URI)
- Flushes the request to the server at the given URI for hashtable
PostObject2
public void PostObject2(String URI)
- Flushes request to the server at the given URI for query
PostObject3
public void PostObject3(String URI)
- Flushes request to the server at the given URI for cookie deletion
getValue
public String getValue(String name)
- returns the value of given field
gettable
public Hashtable gettable()
- returns the hashtable
getResultable
public Hashtable getResultable()
- returns the hashtable containing result set
All Packages Class Hierarchy This Package Previous Next Index