TopoWeb Commons API

org.topoweb.net.server
Interface SessionFilter


public interface SessionFilter

A filter interface for Sessions.

Author:
Babak Farhang
See Also:
SessionWriter

Method Summary
 boolean allow(Session session)
          Tests whether enough bytes have been read into the given session to form a request.
 

Method Detail

allow

public boolean allow(Session session)
Tests whether enough bytes have been read into the given session to form a request.

Parameters:
session - the Session inspected
Returns:
true, if the given session is allowed; false, o.w.

TopoWeb Commons API

Copyright (C) 2002 Babak Farhang

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.