Class Environment.Named

java.lang.Object
org.eclipse.jetty.util.Attributes.Mapped
org.eclipse.jetty.util.component.Environment.Named
All Implemented Interfaces:
Attributes, Dumpable, Environment
Enclosing interface:
Environment

public static class Environment.Named extends Attributes.Mapped implements Environment, Dumpable
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Environment
      Returns:
      The case-insensitive name of the environment.
    • getClassLoader

      public ClassLoader getClassLoader()
      Specified by:
      getClassLoader in interface Environment
      Returns:
      The ClassLoader for the environment or if non set, then the ClassLoader that loaded the environment implementation.
    • dump

      public String dump()
      Specified by:
      dump in interface Dumpable
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Description copied from interface: Dumpable
      Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
      Specified by:
      dump in interface Dumpable
      Parameters:
      out - The appendable to dump to
      indent - The indent to apply after any new lines.
      Throws:
      IOException - if unable to write to Appendable
    • toString

      public String toString()
      Overrides:
      toString in class Attributes.Mapped