    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.servlet.ServletWrapperFrame

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.tools.resources.ResourceFrame
                                       |
                                       +----org.w3c.tools.resources.ProtocolFrame
                                               |
                                               +----org.w3c.jigsaw.frames.HTTPFrame
                                                       |
                                                       +----org.w3c.jigsaw.servlet.ServletWrapperFrame

public class ServletWrapperFrame
extends HTTPFrame

##

STATE_EXTRA_PATH
wrapper

##

ServletWrapperFrame()

##

lookupOther(LookupState, LookupResult)
  Jigsaw's lookup on servlets.
perform(RequestInterface)
  Dispatch the give request to our servlet.
registerResource(FramedResource)
  Register a target resource.

##

STATE_EXTRA_PATH

     public static final String STATE_EXTRA_PATH

wrapper

     protected ServletWrapper wrapper

##

ServletWrapperFrame

     public ServletWrapperFrame()

##

registerResource

     public void registerResource(FramedResource resource)

  Register a target resource.

  Overrides:
    registerResource in class HTTPFrame

perform

     public ReplyInterface perform(RequestInterface req) throws ProtocolException, NotAProtocolException

  Dispatch the give request to our servlet.

  If the servlet cannot be inititalized, we just throw an error message otherwise, we just delegate that request processing to the underlying servlet instance.

  Parameters:
    request - The request to be processed.
  Throws: ProtocolException
    If the wrapped servlet is not initialized.
  Overrides:
    perform in class HTTPFrame

lookupOther

     public boolean lookupOther(LookupState ls,
                                LookupResult lr) throws ProtocolException

  Jigsaw's lookup on servlets. Once here, we have reached a leaf servlet (or at least the remaining lookup is to be done at the servlet itself). We keep track of the path info and mark that servlet as the target of request.

  Parameters:
    ls - The lookup state.
    lr - The lookup result.
  Throws: ProtocolException
    If some error occurs.
  Overrides:
    lookupOther in class HTTPFrame

    All Packages  Class Hierarchy  This Package  Previous  Next  Index