Interface InputParameterService

All Known Implementing Classes:
InputParameterServiceImpl

public interface InputParameterService
Proivdes input
Author:
miruflin
  • Field Details

  • Method Details

    • getParameter

      String getParameter(String name)
      Get a request parameter.
      Returns:
      Returns the value of a request parameter as a String, or null if the parameter does not exist.
    • getLongParameter

      Long getLongParameter(String name)
      Get a Long request parameter.
      Returns:
      the Long or null if either the value cannot be parsed to a Long or does not exist
    • getIntegerParameter

      Integer getIntegerParameter(String name)
      Get an Integer request parameter.
      Returns:
      the Integer or null if either the value cannot be parsed to an Integer or does not exist
    • getBooleanParameter

      Boolean getBooleanParameter(String name)
      Get a Boolean request parameter.
      Returns:
      the Boolean or null if either the value cannot be parsed to a Boolean or does not exist. Only exact "true" and "false" values are parsed correctly.