All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.http.LookupResult

java.lang.Object
   |
   +----w3c.jigsaw.http.LookupResult

public class LookupResult
extends Object

Variable Index

 o filters
The current set of computed filters to be applied on the resource.
 o FILTERS_INCR
 o FILTERS_INIT_SIZE
 o flength
The number of registered filters at this point.
 o reply
Any reply that can be computed during lookup.
 o target
The current target of the lookup operation.

Constructor Index

 o LookupResult(HTTPResource)
Create a new empty lookup result object.

Method Index

 o addFilter(HTTPFilter)
Add a filter, to be invoked by the resource's perform method.
 o addFilters(HTTPFilter[])
Add a set of filters to be invoked by the resource's perform method.
 o getFilters()
Get the full list of filters to be applied when performing on the resource.
 o getReply()
 o getTarget()
Get the current lookup target of the lookup in progress.
 o hasReply()
 o setReply(Reply)
 o setTarget(HTTPResource)
Set the current target of the lookup operation.

Variables

 o FILTERS_INIT_SIZE
 public static final int FILTERS_INIT_SIZE
 o FILTERS_INCR
 public static final int FILTERS_INCR
 o reply
 protected Reply reply
Any reply that can be computed during lookup.

 o target
 protected HTTPResource target
The current target of the lookup operation.

 o filters
 protected HTTPFilter filters[]
The current set of computed filters to be applied on the resource.

 o flength
 protected int flength
The number of registered filters at this point.

Constructors

 o LookupResult
 public LookupResult(HTTPResource target)
Create a new empty lookup result object.

Parameters:
target - The root target of the lookup operation to run.

Methods

 o getTarget
 public HTTPResource getTarget()
Get the current lookup target of the lookup in progress.

Returns:
An HTTPResource, that may be null.
 o setTarget
 public void setTarget(HTTPResource target)
Set the current target of the lookup operation.

Parameters:
target - The new current target of the lookup in progress.
 o getReply
 public Reply getReply()
 o setReply
 public void setReply(Reply reply)
 o hasReply
 public boolean hasReply()
 o addFilter
 public void addFilter(HTTPFilter filter)
Add a filter, to be invoked by the resource's perform method.

Parameters:
filter - The HTTPFIlter to be called.
 o addFilters
 public void addFilters(HTTPFilter fs[])
Add a set of filters to be invoked by the resource's perform method.

Parameters:
filters - The array of filters to register.
 o getFilters
 public HTTPFilter[] getFilters()
Get the full list of filters to be applied when performing on the resource.

Returns:
An array of HTTPFilter instances, or null if none is defined.

All Packages  Class Hierarchy  This Package  Previous  Next  Index