Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openqa.selenium.server
Class CachedContentTestHandler

    java.lang.Object
      org.openqa.selenium.server.CachedContentTestHandler

All Implemented Interfaces:
  java.io.Serializable, org.mortbay.http.HttpHandler, org.mortbay.util.LifeCycle

    public class CachedContentTestHandler

extends java.lang.Object
implements org.mortbay.http.HttpHandler

This test handler is only needed for testing caching. It prints out the current time, but instructs the browser to cache the result.

See Also:
  Serialized Form

Constructor Summary
`CachedContentTestHandler()`

Method Summary
`org.mortbay.http.HttpContext` | `getHttpContext()`
`java.lang.String` | `getName()`
`void` | `handle(java.lang.String pathInContext, java.lang.String pathParams, org.mortbay.http.HttpRequest httpRequest, org.mortbay.http.HttpResponse res)`
`void` | `initialize(org.mortbay.http.HttpContext c)`
`boolean` | `isStarted()`
`void` | `start()`
`void` | `stop()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CachedContentTestHandler

    public CachedContentTestHandler()

Method Detail

### handle

    public void handle(java.lang.String pathInContext,
                       java.lang.String pathParams,
                       org.mortbay.http.HttpRequest httpRequest,
                       org.mortbay.http.HttpResponse res)
                throws org.mortbay.http.HttpException,
                       java.io.IOException

  Specified by:
    `handle` in interface `org.mortbay.http.HttpHandler`
  Throws:
    `org.mortbay.http.HttpException`
    `java.io.IOException`

### getName

    public java.lang.String getName()

  Specified by:
    `getName` in interface `org.mortbay.http.HttpHandler`

### getHttpContext

    public org.mortbay.http.HttpContext getHttpContext()

  Specified by:
    `getHttpContext` in interface `org.mortbay.http.HttpHandler`

### initialize

    public void initialize(org.mortbay.http.HttpContext c)

  Specified by:
    `initialize` in interface `org.mortbay.http.HttpHandler`

### start

    public void start()
               throws java.lang.Exception

  Specified by:
    `start` in interface `org.mortbay.util.LifeCycle`
  Throws:
    `java.lang.Exception`

### stop

    public void stop()
              throws java.lang.InterruptedException

  Specified by:
    `stop` in interface `org.mortbay.util.LifeCycle`
  Throws:
    `java.lang.InterruptedException`

### isStarted

    public boolean isStarted()

  Specified by:
    `isStarted` in interface `org.mortbay.util.LifeCycle`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009. All Rights Reserved.