Skip navigation links
  • Module
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.eclipse.jetty.server.handler.ContextHandler.isCompactPath()
    use CompactPathRule with RewriteHandler instead. Will be removed from ee10 onwards.
    org.eclipse.jetty.server.handler.ContextHandler.setCompactPath(boolean)
    use CompactPathRule with RewriteHandler instead. Will be removed from ee10 onwards.
  • Deprecated Classes
    Class
    Description
    org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
    This class is no longer required as ERROR dispatch is only done if there is an error page target.
    org.eclipse.jetty.server.handler.AllowSymLinkAliasChecker
    use SymlinkAllowedResourceAliasChecker instead.
    org.eclipse.jetty.server.handler.ContextHandler.ApproveAliases
    use AllowedResourceAliasChecker instead.
    org.eclipse.jetty.server.handler.ContextHandler.ApproveNonExistentDirectoryAliases
    org.eclipse.jetty.server.HttpChannel.TransientListeners
    org.eclipse.jetty.server.MultiPartInputStreamParser
    Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream. However this class accepts formats non compliant the RFC that the new MultiPartFormInputStream does not accept.
    org.eclipse.jetty.server.OptionalSslConnectionFactory
    Use DetectorConnectionFactory with a SslConnectionFactory instead.
    org.eclipse.jetty.server.SameFileAliasChecker
    use AllowedResourceAliasChecker instead.
    org.eclipse.jetty.server.ServerConnectionStatistics
  • Deprecated Methods
    Method
    Description
    org.eclipse.jetty.server.handler.AbstractHandler.doError(String, Request, HttpServletRequest, HttpServletResponse)
    org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler.doNonErrorHandle(String, Request, HttpServletRequest, HttpServletResponse)
    org.eclipse.jetty.server.handler.ContextHandler.isCompactPath()
    use CompactPathRule with RewriteHandler instead. Will be removed from ee10 onwards.
    org.eclipse.jetty.server.handler.ContextHandler.setCompactPath(boolean)
    use CompactPathRule with RewriteHandler instead. Will be removed from ee10 onwards.
    org.eclipse.jetty.server.handler.ContextHandler.StaticContext.getServlet(String)
    org.eclipse.jetty.server.handler.ContextHandler.StaticContext.getServletNames()
    org.eclipse.jetty.server.handler.ContextHandler.StaticContext.getServlets()
    org.eclipse.jetty.server.handler.ContextHandler.StaticContext.log(Exception, String)
    org.eclipse.jetty.server.handler.ErrorHandler.getAcceptableWriter(Request, HttpServletRequest, HttpServletResponse)
    org.eclipse.jetty.server.handler.gzip.GzipHandler.getDeflaterPoolCapacity()
    for custom DeflaterPool settings use GzipHandler.setDeflaterPool(DeflaterPool).
    org.eclipse.jetty.server.handler.gzip.GzipHandler.getInflaterPoolCapacity()
    for custom InflaterPool settings use GzipHandler.setInflaterPool(InflaterPool).
    org.eclipse.jetty.server.handler.gzip.GzipHandler.setDeflaterPoolCapacity(int)
    for custom DeflaterPool settings use GzipHandler.setDeflaterPool(DeflaterPool).
    org.eclipse.jetty.server.handler.gzip.GzipHandler.setInflaterPoolCapacity(int)
    for custom InflaterPool settings use GzipHandler.setInflaterPool(InflaterPool).
    org.eclipse.jetty.server.handler.InetAccessHandler.excludeConnector(String)
    use InetAccessHandler.include(String) instead.
    org.eclipse.jetty.server.handler.InetAccessHandler.excludeConnectors(String...)
    use InetAccessHandler.include(String) instead.
    org.eclipse.jetty.server.handler.InetAccessHandler.includeConnector(String)
    use InetAccessHandler.include(String) instead.
    org.eclipse.jetty.server.handler.InetAccessHandler.includeConnectors(String...)
    use InetAccessHandler.include(String) instead.
    org.eclipse.jetty.server.HttpChannel.addListener(HttpChannel.Listener)
    org.eclipse.jetty.server.HttpChannel.getTransientListeners()
    org.eclipse.jetty.server.HttpChannel.removeListener(HttpChannel.Listener)
    org.eclipse.jetty.server.MultiPartFormInputStream.isDeleteOnExit()
    no replacement provided
    org.eclipse.jetty.server.MultiPartFormInputStream.isEmpty()
    use getParts().isEmpty()
    org.eclipse.jetty.server.MultiPartFormInputStream.setDeleteOnExit(boolean)
    no replacement provided.
    org.eclipse.jetty.server.MultiPartInputStreamParser.isDeleteOnExit()
    no replacement offered.
    org.eclipse.jetty.server.MultiPartInputStreamParser.setDeleteOnExit(boolean)
    no replacement offered.
    org.eclipse.jetty.server.OptionalSslConnectionFactory.otherProtocol(ByteBuffer, EndPoint)
    Override OptionalSslConnectionFactory.nextProtocol(Connector, EndPoint, ByteBuffer) instead.
    org.eclipse.jetty.server.Request.getRealPath(String)
    org.eclipse.jetty.server.Request.isRequestedSessionIdFromUrl()
    org.eclipse.jetty.server.Response.completeOutput()
    Use Response.closeOutput()
    org.eclipse.jetty.server.Response.encodeRedirectUrl(String)
    org.eclipse.jetty.server.Response.encodeUrl(String)
    org.eclipse.jetty.server.Response.setStatus(int, String)
    org.eclipse.jetty.server.ServerConnectionStatistics.addToAllConnectors(Server)
    use Server.addBeanToAllConnectors(Object) instead.
    org.eclipse.jetty.server.ServletRequestHttpWrapper.isRequestedSessionIdFromUrl()
    org.eclipse.jetty.server.ServletResponseHttpWrapper.encodeRedirectUrl(String)
    org.eclipse.jetty.server.ServletResponseHttpWrapper.encodeUrl(String)
    org.eclipse.jetty.server.ServletResponseHttpWrapper.setStatus(int, String)
    org.eclipse.jetty.server.session.AbstractSessionCache.put(String, Session)
    use AbstractSessionCache.release(String, Session) instead
    org.eclipse.jetty.server.session.Session.getSessionContext()
    org.eclipse.jetty.server.session.Session.getValue(String)
    org.eclipse.jetty.server.session.Session.getValueNames()
    As of Servlet 2.2, this method is replaced by Session.getAttributeNames()
    org.eclipse.jetty.server.session.Session.putValue(String, Object)
    org.eclipse.jetty.server.session.Session.removeValue(String)
    org.eclipse.jetty.server.session.SessionCache.put(String, Session)
    use SessionCache.release(String, Session) instead
  • Deprecated Constructors
    Constructor
    Description
    org.eclipse.jetty.server.ProxyConnectionFactory.ProxyEndPoint(EndPoint, InetSocketAddress, InetSocketAddress)

Copyright © 1995–2025 Webtide. All rights reserved.