    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

##

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

##

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

##

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

##

FILTERS_INIT_SIZE

      public final static int FILTERS_INIT_SIZE

FILTERS_INCR

      public final static int FILTERS_INCR

reply

      protected Reply reply

  Any reply that can be computed during lookup.

target

      protected HTTPResource target

  The current target of the lookup operation.

filters

      protected HTTPFilter filters[]

  The current set of computed filters to be applied on the resource.

flength

      protected int flength

  The number of registered filters at this point.

##

LookupResult

      public LookupResult(HTTPResource target)

  Create a new empty lookup result object.
  Parameters:
    target - The root target of the lookup operation to run.

##

getTarget

      public HTTPResource getTarget()

  Get the current lookup target of the lookup in progress.
  Returns:
    An HTTPResource, that may be null.

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.

getReply

      public Reply getReply()

setReply

      public void setReply(Reply reply)

hasReply

      public boolean hasReply()

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.

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.

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