Class ServletContextHandler.ServletScopedContext

java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.util.Attributes.Layer
org.eclipse.jetty.server.handler.ContextHandler.ScopedContext
org.eclipse.jetty.ee10.servlet.ServletContextHandler.ServletScopedContext
All Implemented Interfaces:
Executor, org.eclipse.jetty.server.Context, org.eclipse.jetty.util.Attributes, org.eclipse.jetty.util.Decorator
Enclosing class:
ServletContextHandler

public class ServletContextHandler.ServletScopedContext extends org.eclipse.jetty.server.handler.ContextHandler.ScopedContext
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes

    org.eclipse.jetty.util.Attributes.Layer, org.eclipse.jetty.util.Attributes.Lazy, org.eclipse.jetty.util.Attributes.Mapped, org.eclipse.jetty.util.Attributes.Synthetic, org.eclipse.jetty.util.Attributes.Wrapper
  • Field Summary

    Fields inherited from interface org.eclipse.jetty.util.Attributes

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
     
    <T extends jakarta.servlet.Filter>
    void
     
    <T extends jakarta.servlet.Servlet>
    void
     
     
     
    protected org.eclipse.jetty.util.DecoratedObjectFactory
     
     
     
    setAttribute(String name, Object attribute)
     
    void
     

    Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler.ScopedContext

    accept, call, decorate, destroy, execute, execute, getBaseResource, getClassLoader, getContextHandler, getContextPath, getCrossContextDispatchType, getErrorHandler, getMimeTypes, getPathInContext, getTempDirectory, getVirtualHosts, isCrossContextDispatch, run, run, test, toString

    Methods inherited from class org.eclipse.jetty.util.Attributes.Layer

    clearAttributes, getPersistentAttributes, removeAttribute

    Methods inherited from class org.eclipse.jetty.util.Attributes.Wrapper

    equals, getWrapped, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.Attributes

    asAttributeMap, clearAttributes, equals, hashCode, removeAttribute
  • Constructor Details

    • ServletScopedContext

      public ServletScopedContext()
  • Method Details

    • getServletContext

      public ServletContextHandler.ServletContextApi getServletContext()
    • getServletContextHandler

      public ServletContextHandler getServletContextHandler()
    • getDecoratedObjectFactory

      protected org.eclipse.jetty.util.DecoratedObjectFactory getDecoratedObjectFactory()
      Overrides:
      getDecoratedObjectFactory in class org.eclipse.jetty.server.handler.ContextHandler.ScopedContext
    • createInstance

      public <T> T createInstance(BaseHolder<T> holder) throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • destroyFilter

      public <T extends jakarta.servlet.Filter> void destroyFilter(T f)
    • destroyServlet

      public <T extends jakarta.servlet.Servlet> void destroyServlet(T s)
    • setExtendedListenerTypes

      public void setExtendedListenerTypes(boolean b)
    • getAttribute

      public Object getAttribute(String name)
      Specified by:
      getAttribute in interface org.eclipse.jetty.util.Attributes
      Overrides:
      getAttribute in class org.eclipse.jetty.util.Attributes.Layer
    • setAttribute

      public Object setAttribute(String name, Object attribute)
      Specified by:
      setAttribute in interface org.eclipse.jetty.util.Attributes
      Overrides:
      setAttribute in class org.eclipse.jetty.util.Attributes.Layer
    • getAttributeNameSet

      public Set<String> getAttributeNameSet()
      Specified by:
      getAttributeNameSet in interface org.eclipse.jetty.util.Attributes
      Overrides:
      getAttributeNameSet in class org.eclipse.jetty.util.Attributes.Layer