Interface StartupParameters

All Superinterfaces:
ClientService, Serializable
All Known Implementing Classes:
AbstractEntryPoint

public interface StartupParameters extends ClientService
The startup parameters service allows accessing startup parameters of an entry point. In the default web client, these parameters can be passed as HTTP request parameters in the initial request.
Since:
3.0
  • Method Details

    • getParameterNames

      Collection<String> getParameterNames()
      Returns the names of the entrypoint startup parameters.
      Returns:
      a (possibly empty) collection of parameter names
    • getParameter

      String getParameter(String name)
      Returns the value of a named entrypoint startup parameter. You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String). If you use this method with a multivalued parameter, the value returned is equal to the first value in the list returned by getParameterValues.
      Parameters:
      name - the name of the parameter
      Returns:
      the value of the parameter, or null if the parameter does not exist
    • getParameterValues

      List<String> getParameterValues(String name)
      Returns a list with values of a named entrypoint startup parameter. If the parameter has a single value, the list has a size of 1.
      Parameters:
      name - the name of the parameter
      Returns:
      the values of the parameter, or null if the parameter does not exist