Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

juju.reattore.protocol.http
Interface HttpProtocol  view HttpProtocol download HttpProtocol.java


public interface HttpProtocol

Encapsulates the logic and processing of a HTTP session, including any protocol responses. Stateful.


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.
 

Method Detail

seed

public void seed(HttpRequest req,
                 HttpResponse resp)
Re-seed this protocol with a new request.


shouldClose

public boolean shouldClose()
Test if the connection should be closed. Controller must perform the close.