juju.reattore.protocol.http.impl
Class Http11Protocol

java.lang.Object
  |
  +--juju.reattore.protocol.http.impl.Http11Protocol
All Implemented Interfaces:
HttpProtocol

public class Http11Protocol
extends java.lang.Object
implements HttpProtocol

Logic for a HTTP/1.1 session


Constructor Summary
Http11Protocol()
           
 
Method Summary
 void seed(HttpRequest req, HttpResponse resp)
          Re-seed this protocol with a new request.
 boolean shouldClose()
          Test if the connection should be closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Http11Protocol

public Http11Protocol()
Method Detail

seed

public void seed(HttpRequest req,
                 HttpResponse resp)
Description copied from interface: HttpProtocol
Re-seed this protocol with a new request.

Specified by:
seed in interface HttpProtocol
Parameters:
req - The new request to answer.
resp - The response to fill in.
See Also:
HttpProtocol

shouldClose

public boolean shouldClose()
Description copied from interface: HttpProtocol
Test if the connection should be closed. Controller must perform the close.

Specified by:
shouldClose in interface HttpProtocol
Returns:
true if the connection should close.
See Also:
HttpProtocol


Copyright © 2002-2003 Michael Hope. All Rights Reserved.