Xindice API

org.apache.xindice.server.methods
Class GET

java.lang.Object
  |
  +--org.apache.xindice.util.SimpleConfigurable
        |
        +--org.apache.xindice.server.SimpleScriptComponent
              |
              +--org.apache.xindice.server.SimpleScript
                    |
                    +--org.apache.xindice.server.methods.GET
All Implemented Interfaces:
Configurable, Disposable, KernelAccess, Named, Script, ScriptComponent, Versioning

public final class GET
extends SimpleScript

GET is an HTTP 1.1 compliant GET method. This Script performs native socket output for maximum performance and checks the If-Modified-Since header to determine whether to send the content or not.


Fields inherited from class org.apache.xindice.server.SimpleScriptComponent
NAME, PACKAGE
 
Fields inherited from interface org.apache.xindice.server.Script
ACCESS_ADMIN, ACCESS_DESIGN, ACCESS_EXECUTE, ACCESS_NONE, ACCESS_READ, ACCESS_WRITE
 
Constructor Summary
GET()
           
 
Method Summary
 void run(Gateway gateway)
          run executes the Script, passing a Gateway object to it to serve as a resource provider and server gateway.
 void setConfig(Configuration config)
          setConfig sets the configuration information for the Configurable object instance.
 
Methods inherited from class org.apache.xindice.server.SimpleScript
getAccessMethods
 
Methods inherited from class org.apache.xindice.server.SimpleScriptComponent
dispose, getName, getPackageName, getVersion, setKernel
 
Methods inherited from class org.apache.xindice.util.SimpleConfigurable
getConfig
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xindice.server.Versioning
getPackageName, getVersion
 
Methods inherited from interface org.apache.xindice.util.Named
getName
 

Constructor Detail

GET

public GET()
Method Detail

setConfig

public void setConfig(Configuration config)
               throws XindiceException
Description copied from interface: Configurable
setConfig sets the configuration information for the Configurable object instance.
Overrides:
setConfig in class SimpleConfigurable
Following copied from interface: org.apache.xindice.util.Configurable
Parameters:
config - The configuration Node

run

public void run(Gateway gateway)
Description copied from interface: Script
run executes the Script, passing a Gateway object to it to serve as a resource provider and server gateway.
Overrides:
run in class SimpleScript
Following copied from interface: org.apache.xindice.server.Script
Parameters:
gateway - The Gateway object to process

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation