Klasse ServletParameterHelper

java.lang.Object
server.restful.common.parameter.ServletParameterHelper

public class ServletParameterHelper extends Object
Provides parameter default values and localization of ConvertServlet as well as parameter checks to spot development errors.
Autor:
ken
  • Felddetails

    • LOG

      private static final Logger LOG
    • ERRORS

      private static final ResourceBundle ERRORS
    • SUPPORTED_LOCALES

      public static final Locale[] SUPPORTED_LOCALES
    • CONVERT_OPTIONS

      public static final String CONVERT_OPTIONS
    • CONVERT_MESSAGES

      public static final Map<Locale,String> CONVERT_MESSAGES
    • OPTION_MAX_LENGTH

      public static final int OPTION_MAX_LENGTH
      Siehe auch:
    • GNU_OPTION_MIN_LENGTH

      public static final int GNU_OPTION_MIN_LENGTH
      Siehe auch:
    • FILTER_NAME

      private static final String FILTER_NAME
      Siehe auch:
  • Konstruktordetails

    • ServletParameterHelper

      public ServletParameterHelper()
  • Methodendetails

    • check

      public static void check(Class<?> servletParameterClass, boolean servletParameter) throws ExceptionInInitializerError
      Löst aus:
      ExceptionInInitializerError
    • createObjectMapper

      private static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter filter)