com.tensegrity.palojava.http.handlers
Class HttpHandler

java.lang.Object
  extended by com.tensegrity.palojava.http.handlers.HttpHandler
Direct Known Subclasses:
HttpCellHandler, HttpCubeHandler, HttpDatabaseHandler, HttpDimensionHandler, HttpElementHandler, HttpServerHandler

public class HttpHandler
extends java.lang.Object

Base class for all http handlers. Its main task the realization of the communication with the palo server over an http based protocol. Furthermore this class provides methods for mapping palo object names, like database or dimension names, to unique ids which are required by the new palo server. Right now this mapping is needed to support the legacy api and to keep api changes at a minimum.

Version:
$Id$
Author:
ArndHouben

Constructor Summary
HttpHandler(HttpClient httpClient)
          Creates a new HttpHandler instance.
 
Method Summary
 void setSID(java.lang.String sid)
          Sets the current valid session id given by the palo server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHandler

public HttpHandler(HttpClient httpClient)
Creates a new HttpHandler instance. Requires a HttpClient for delegating all requests to the connected palo server.

Parameters:
httpClient - the connection to the palo server
Method Detail

setSID

public void setSID(java.lang.String sid)
Sets the current valid session id given by the palo server

Parameters:
sid - the new session id