org.vrspace.server
Class GZipSession
java.lang.Object
java.util.Observable
org.vrspace.server.Session
org.vrspace.server.BinarySession
org.vrspace.server.GZipSession
- All Implemented Interfaces:
- java.lang.Runnable
- public class GZipSession
- extends BinarySession
A GZip compressed session. Probably does not work.
- See Also:
GZipConnection
Fields inherited from class org.vrspace.server.Session |
active, cacheRequests, client, daemon, debugLevel, dispatcher, lastTime, lf, preserveSocket, receivedChars, receivedRequests, relogin, RESPONSE_ERR, RESPONSE_NONE, RESPONSE_OK, sentChars, sentRequests, server, socket, startTime, stopTime, TERMINATOR, writer |
Constructor Summary |
GZipSession(java.net.Socket s,
Dispatcher d,
java.io.OutputStream out)
Creates new Session which will write bytes to out |
GZipSession(java.net.Socket s,
Dispatcher d,
java.io.OutputStream out,
Filter filter)
Creates new Session which will write bytes to out after filtering
them with filter |
Method Summary |
protected void |
write(java.lang.String s)
Sends s to the client |
Methods inherited from class org.vrspace.server.Session |
debug, flushRequests, getAddress, getId, getSocket, getStatus, isActive, read, run, sendError, sendRequest, sendResponse, terminate, terminate, write |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZipSession
public GZipSession(java.net.Socket s,
Dispatcher d,
java.io.OutputStream out)
throws java.io.IOException
- Creates new Session which will write bytes to out
GZipSession
public GZipSession(java.net.Socket s,
Dispatcher d,
java.io.OutputStream out,
Filter filter)
throws java.io.IOException
- Creates new Session which will write bytes to out after filtering
them with filter
write
protected void write(java.lang.String s)
- Sends s to the client