com.sapportals.wcm.app.xfbuilder.client.util.soap

Class Client

java.lang.Object
  extended by com.sapportals.wcm.app.xfbuilder.client.util.soap.Client
All Implemented Interfaces:
TimeoutListener, EventListener
Direct Known Subclasses:
HttpClient, HttpsAppletClient

public abstract class Client
extends Object
implements TimeoutListener

Copyright 2004 SAP AG


Field Summary
protected  boolean allowSessionManagement
           
protected  Hashtable Cookies
           
static int state
           
protected  boolean timedOut
           
 
Constructor Summary
Client()
           
 
Method Summary
 void deleteCookies()
           
abstract  String getCodeBase()
           
abstract  String getConnectionString()
           
static Client getInstance(String serverURL, String classURL)
          Constructor declaration
protected  String headerToString(URLConnection c)
           
 boolean isSessionManagementAllowed()
           
abstract  Message send(Timeout timeout, Message m1)
           
abstract  void setLogin(String name, String pwd)
           
abstract  void setServerConnection(String pserverURL)
           
 void timeoutHappened(TimeoutEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

public static int state

Cookies

protected Hashtable Cookies

allowSessionManagement

protected boolean allowSessionManagement

timedOut

protected boolean timedOut
Constructor Detail

Client

public Client()
Method Detail

getInstance

public static Client getInstance(String serverURL,
                                 String classURL)
Constructor declaration

See Also:

timeoutHappened

public void timeoutHappened(TimeoutEvent event)
Specified by:
timeoutHappened in interface TimeoutListener

deleteCookies

public void deleteCookies()

headerToString

protected String headerToString(URLConnection c)
                         throws IOException
Throws:
IOException

isSessionManagementAllowed

public boolean isSessionManagementAllowed()

setLogin

public abstract void setLogin(String name,
                              String pwd)

send

public abstract Message send(Timeout timeout,
                             Message m1)
                      throws MalformedURLException,
                             CouldNotConnectException,
                             ConnectionException,
                             MalformedResponseException
Throws:
MalformedURLException
CouldNotConnectException
ConnectionException
MalformedResponseException

getCodeBase

public abstract String getCodeBase()

setServerConnection

public abstract void setServerConnection(String pserverURL)

getConnectionString

public abstract String getConnectionString()


Copyright 2011 SAP AG Complete Copyright Notice