org.aselect.server.request
Class RequestState

java.lang.Object
  extended by org.aselect.server.request.RequestState

public class RequestState
extends java.lang.Object

RequestHandler state object.

Description:
Contains the next request handler, used by request handler chaining

Concurrency issues:
-

Author:
Alfa & Ariss

Constructor Summary
RequestState(java.lang.String sNextHandler)
          The constructor used for creating an object of this class.
 
Method Summary
 java.lang.String getNextHandler()
          Returns the ID of the next handler for chaining.
 boolean hasNextHandler()
          Returns TRUE if a next handler is available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestState

public RequestState(java.lang.String sNextHandler)
The constructor used for creating an object of this class.

Description:
Creates the RequestState object with the supplied id of the next handler

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
sNextHandler - ID of the next requesthandler in the chaining process
Method Detail

hasNextHandler

public boolean hasNextHandler()
Returns TRUE if a next handler is available.

Description:
-

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
FALSE if a next handler is not available

getNextHandler

public java.lang.String getNextHandler()
Returns the ID of the next handler for chaining.

Description:
The ID of the next handler were the request must be processed

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
String containing the ID of the next handler


Copyright © 2008 SURFnet BV. All Rights Reserved.