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


Constructor Index

 o 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

Method Index

 o getResultable()
returns the hashtable containing result set
 o gettable()
returns the hashtable
 o getValue(String)
returns the value of given field
 o PostObject1(String)
Flushes the request to the server at the given URI for hashtable
 o PostObject2(String)
Flushes request to the server at the given URI for query
 o PostObject3(String)
Flushes request to the server at the given URI for cookie deletion
 o registerCookie(String)
registers cookie
 o registerQuery(String)
registers query
 o registerRequest(String)
registers the demands of fields
 o registerRequest(String, String)
registers object of request, and parameters

Constructors

 o 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

Methods

 o registerRequest
 public void registerRequest(String name,
                             String value)
registers object of request, and parameters

 o registerRequest
 public void registerRequest(String name)
registers the demands of fields

 o registerQuery
 public void registerQuery(String query_in)
registers query

 o registerCookie
 public void registerCookie(String cookie_in)
registers cookie

 o PostObject1
 public void PostObject1(String URI)
Flushes the request to the server at the given URI for hashtable

 o PostObject2
 public void PostObject2(String URI)
Flushes request to the server at the given URI for query

 o PostObject3
 public void PostObject3(String URI)
Flushes request to the server at the given URI for cookie deletion

 o getValue
 public String getValue(String name)
returns the value of given field

 o gettable
 public Hashtable gettable()
returns the hashtable

 o getResultable
 public Hashtable getResultable()
returns the hashtable containing result set


All Packages  Class Hierarchy  This Package  Previous  Next  Index