Class ServletContextHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void collectPropertyNames​(java.util.HashSet set, java.lang.Object bean)
      Collect the property names from bean, storing in set.
      java.lang.Object getProperty​(java.lang.Object context, java.lang.String property)
      Returns the value of the specified dynamic property.
      java.lang.String[] getPropertyNames​(java.lang.Object context)
      Returns a list of dynamic property names for the supplied object.
      void setProperty​(java.lang.Object context, java.lang.String property, java.lang.Object value)
      Modifies the value of the specified dynamic property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_PROPERTY_COUNT

        private static final int DEFAULT_PROPERTY_COUNT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServletContextHandler

        public ServletContextHandler()
    • Method Detail

      • getPropertyNames

        public java.lang.String[] getPropertyNames​(java.lang.Object context)
        Description copied from interface: DynamicPropertyHandler
        Returns a list of dynamic property names for the supplied object.
        Specified by:
        getPropertyNames in interface DynamicPropertyHandler
        Parameters:
        context - to inspect
        Returns:
        String[]
      • collectPropertyNames

        protected void collectPropertyNames​(java.util.HashSet set,
                                            java.lang.Object bean)
        Collect the property names from bean, storing in set.
        Parameters:
        set - destination
        bean - to read
      • getProperty

        public java.lang.Object getProperty​(java.lang.Object context,
                                            java.lang.String property)
        Description copied from interface: DynamicPropertyHandler
        Returns the value of the specified dynamic property.
        Specified by:
        getProperty in interface DynamicPropertyHandler
        Parameters:
        context - to search
        property - to retrieve
        Returns:
        Object
      • setProperty

        public void setProperty​(java.lang.Object context,
                                java.lang.String property,
                                java.lang.Object value)
        Description copied from interface: DynamicPropertyHandler
        Modifies the value of the specified dynamic property.
        Specified by:
        setProperty in interface DynamicPropertyHandler
        Parameters:
        context - to modify
        property - to modify
        value - to set