org.hsqldb
Class HTTPClientConnection

java.lang.Object
  extended byorg.hsqldb.HSQLClientConnection
      extended byorg.hsqldb.HTTPClientConnection
All Implemented Interfaces:
SessionInterface

public class HTTPClientConnection
extends HSQLClientConnection

HTTP protocol session proxy implementation. Uses the updated HSQLDB HTTP sub protocol.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Field Summary
 
Fields inherited from class org.hsqldb.HSQLClientConnection
dataInput, dataOutput, rowIn, rowOut
 
Constructor Summary
HTTPClientConnection(String host, int port, String path, String database, boolean isTLS, String user, String password)
           
 
Method Summary
 Result execute(Result r)
           
protected  void initConnection(String host, int port, boolean isTLS)
           
protected  Result read()
           
protected  void write(Result r)
           
 
Methods inherited from class org.hsqldb.HSQLClientConnection
close, closeConnection, commit, getId, getSession, isAutoCommit, isClosed, isReadOnly, openConnection, rollback, setAutoCommit, setReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPClientConnection

public HTTPClientConnection(String host,
                            int port,
                            String path,
                            String database,
                            boolean isTLS,
                            String user,
                            String password)
                     throws HsqlException
Method Detail

initConnection

protected void initConnection(String host,
                              int port,
                              boolean isTLS)
                       throws HsqlException
Overrides:
initConnection in class HSQLClientConnection
Throws:
HsqlException

execute

public Result execute(Result r)
               throws HsqlException
Specified by:
execute in interface SessionInterface
Overrides:
execute in class HSQLClientConnection
Throws:
HsqlException

write

protected void write(Result r)
              throws IOException,
                     HsqlException
Overrides:
write in class HSQLClientConnection
Throws:
IOException
HsqlException

read

protected Result read()
               throws IOException,
                      HsqlException
Overrides:
read in class HSQLClientConnection
Throws:
IOException
HsqlException


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.