Class atci.AgentRequestHandler
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class atci.AgentRequestHandler

java.lang.Object
   |
   +----atci.AgentRequestHandler

public class AgentRequestHandler
extends Object
An abstract class to handle incoming requests

Constructor Index

 o AgentRequestHandler()

Method Index

 o handleDispatchRequest(AtciRequest, AtciResponse)
 o handleFetchRequest(AtciRequest, AtciResponse)
 o handleMessageRequest(AtciRequest, AtciResponse)
 o handleRequest(AtciRequest, AtciResponse)
Dispatches requests to specific handle methods.
 o handleRetractRequest(AtciRequest, AtciResponse)
 o initialize(URL)

Constructors

 o AgentRequestHandler
  public AgentRequestHandler()

Methods

 o initialize
  public abstract void initialize(URL hosting)
 o handleRequest
  public void handleRequest(AtciRequest request,
                            AtciResponse response) throws IOException
Dispatches requests to specific handle methods. You are free to override this method to handle them by your self.
See Also:
AtciResponse, AtciResponse
 o handleDispatchRequest
  protected void handleDispatchRequest(AtciRequest request,
                                       AtciResponse response) throws IOException
 o handleRetractRequest
  protected void handleRetractRequest(AtciRequest request,
                                      AtciResponse response) throws IOException
 o handleFetchRequest
  protected void handleFetchRequest(AtciRequest request,
                                    AtciResponse response) throws IOException
 o handleMessageRequest
  protected void handleMessageRequest(AtciRequest request,
                                      AtciResponse response) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index