Top Description Methods
org.eclipse.jetty.server

public Interface Components

Known Direct Implementers
org.eclipse.jetty.server.internal.HttpChannelState
Imports
org.eclipse.jetty.io.ByteBufferPool, org.eclipse.jetty.util.Attributes, org.eclipse.jetty.util.thread.Scheduler, .ThreadPool

Common components made available via a Request

Method Summary

Modifier and TypeMethod and Description
public ByteBufferPool
public Attributes

Returns:

A Map, which may be an empty map that discards all items.
getCache
()

A Map which can be used as a cache for object (e.g. Cookie cache).

public Scheduler
public ThreadPool

Method Detail

getByteBufferPoolback to summary
public ByteBufferPool getByteBufferPool()
getCacheback to summary
public Attributes getCache()

A Map which can be used as a cache for object (e.g. Cookie cache). The cache will have a life cycle limited by the connection, i.e. no cache map will live longer that the connection associated with it. However, a cache may have a shorter life than a connection (e.g. it may be discarded for implementation reasons). A cache map is guaranteed to be given to only a single request concurrently (scoped by org.eclipse.jetty.server.internal.HttpChannelState), so objects saved there do not need to be made safe from access by simultaneous request. If the connection is known to be none-persistent then the cache may be a noop cache and discard all items set on it.

Returns:Attributes

A Map, which may be an empty map that discards all items.

getSchedulerback to summary
public Scheduler getScheduler()
getThreadPoolback to summary
public ThreadPool getThreadPool()