Top Deprecated
Jetty Server 6.1.26

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

the cross context session id manager.
org.mortbay.jetty.SessionManager.getMetaManager
()

use getIdManager()

org.mortbay.jetty.nio.SelectChannelConnector.setLowResourcesMaxIdleTime(long
the period in ms that a connection is allowed to be idle when resources are low.
lowResourcesMaxIdleTime
)

use setLowResourceMaxIdleTime(int)

org.mortbay.jetty.servlet.AbstractSessionManager.NullSessionContext

Deprecated as a consequence of HttpSessionContext being deprecated. See corresponding docs for further information.

org.mortbay.jetty.servlet.AbstractSessionManager.NullSessionContext.getSession(String
the id of the session to be returned
id
)

From HttpSessionContext

org.mortbay.jetty.servlet.AbstractSessionManager.Session.getValue(String
a string specifying the name of the object
name
)

As of Version 2.2, this method is replaced by getAttribute

org.mortbay.jetty.servlet.AbstractSessionManager.Session.putValue(String
the name to which the object is bound; cannot be null
name
,
Object
the object to be bound; cannot be null
value
)

As of Version 2.2, this method is replaced by setAttribute

org.mortbay.jetty.servlet.AbstractSessionManager.Session.removeValue(String
the name of the object to remove from this session
name
)

As of Version 2.2, this method is replaced by removeAttribute

org.mortbay.jetty.servlet.AbstractSessionManager.__nullSessionContext

Deprecated as a consequence of HttpSessionContext being deprecated. See corresponding docs for further information.

Returns:

Returns the initializeAtStart.
org.mortbay.jetty.servlet.ServletHandler.isInitializeAtStart
()

org.mortbay.jetty.servlet.ServletHandler.setInitializeAtStart(boolean
The initializeAtStart to set.
initializeAtStart
)

org.mortbay.jetty.webapp.WebAppContext.addWebApplications(Server
Must not be null
server
,
String
Directory file name or URL to look for auto webapplication.
webapps
,
String
The defaults xml filename or URL which is loaded before any in the web app. Must respect the web.dtd. If null the default defaults file is used. If the empty string, then no defaults file is used.
defaults
,
boolean
If true, extract war files
extract
,
boolean
True if java2 compliance is applied to all webapplications
java2CompliantClassLoader
)

use org.mortbay.jetty.deployer.WebAppDeployer or org.mortbay.jetty.deployer.ContextDeployer

org.mortbay.jetty.webapp.WebAppContext.addWebApplications(Server
Must not be null.
server
,
String
Directory file name or URL to look for auto webapplication.
webapps
,
String
The defaults xml filename or URL which is loaded before any in the web app. Must respect the web.dtd. If null the default defaults file is used. If the empty string, then no defaults file is used.
defaults
,
String[]
Array of classnames of Configuration implementations to apply.
configurations
,
boolean
If true, extract war files
extract
,
boolean
True if java2 compliance is applied to all webapplications
java2CompliantClassLoader
)

use org.mortbay.jetty.deployer.WebAppDeployer or org.mortbay.jetty.deployer.ContextDeployer

org.mortbay.jetty.webapp.WebAppContext.addWebApplications(HandlerContainer
A HandlerContainer to which the contexts will be added
contexts
,
String
Directory file name or URL to look for auto webapplication.
webapps
,
String
The defaults xml filename or URL which is loaded before any in the web app. Must respect the web.dtd. If null the default defaults file is used. If the empty string, then no defaults file is used.
defaults
,
boolean
If true, extract war files
extract
,
boolean
True if java2 compliance is applied to all webapplications
java2CompliantClassLoader
)

use WebAppDeployer or ContextDeployer

org.mortbay.jetty.webapp.WebAppContext.addWebApplications(HandlerContainer
A HandlerContainer to which the contexts will be added
contexts
,
String
Directory file name or URL to look for auto webapplication.
webapps
,
String
The defaults xml filename or URL which is loaded before any in the web app. Must respect the web.dtd. If null the default defaults file is used. If the empty string, then no defaults file is used.
defaults
,
String[]
Array of classnames of Configuration implementations to apply.
configurations
,
boolean
If true, extract war files
extract
,
boolean
True if java2 compliance is applied to all webapplications
java2CompliantClassLoader
)

use WebAppDeployer or ContextDeployer