Class TomcatEmbedded.Context

  • Enclosing class:
    TomcatEmbedded

    public final class TomcatEmbedded.Context
    extends Object
    Copy of org.apache.catalina.Context
    • Constructor Detail

      • Context

        public Context​(Object context)
        Wraps org.apache.catalina.Context object.
        Parameters:
        context - object to be wrapped.
    • Method Detail

      • destroy

        public void destroy()
        Destroys the context.
      • reload

        public void reload()
        Reloads this web application.
      • setAvailable

        public void setAvailable​(boolean b)
        Makes web application available/unavailable.
        Parameters:
        b - true to make it available.
      • addParameter

        public void addParameter​(String key,
                                 String value)
        Add a new context initialization parameter.
        Parameters:
        key - non-null parameter name.
        value - value