Class CGI.EnvList

java.lang.Object
org.eclipse.jetty.servlets.CGI.EnvList
Enclosing class:
CGI

private static class CGI.EnvList extends Object
private utility class that manages the Environment passed to exec.
  • Field Details

  • Constructor Details

  • Method Details

    • set

      public void set(String name, String value)
      Set a name/value pair, null values will be treated as an empty String
      Parameters:
      name - the name
      value - the value
    • getEnvArray

      public String[] getEnvArray()
      Get representation suitable for passing to exec.
      Returns:
      the env map as an array
    • getExportString

      public String getExportString()
    • toString

      public String toString()
      Overrides:
      toString in class Object