Class AServletParameter

    • Field Detail

      • LOG

        protected static org.slf4j.Logger LOG
    • Constructor Detail

      • AServletParameter

        public AServletParameter()
    • Method Detail

      • getBoolean

        protected static Boolean getBoolean​(int pathIndex,
                                            javax.servlet.http.HttpServletRequest request,
                                            boolean required,
                                            Boolean defaultValue)
      • getBoolean

        protected static Boolean getBoolean​(String name,
                                            javax.servlet.http.HttpServletRequest request,
                                            boolean required,
                                            Boolean defaultValue)
      • getEnum

        protected static <E extends Enum<E>> E getEnum​(int pathIndex,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       boolean required,
                                                       E defaultValue,
                                                       Class<E> enumClass)
      • getEnum

        protected static <E extends Enum<E>> E getEnum​(String name,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       boolean required,
                                                       E defaultValue,
                                                       Class<E> enumClass)
      • getInteger

        protected static Integer getInteger​(int pathIndex,
                                            javax.servlet.http.HttpServletRequest request,
                                            boolean required,
                                            Integer defaultValue)
      • getInteger

        protected static Integer getInteger​(String name,
                                            javax.servlet.http.HttpServletRequest request,
                                            boolean required,
                                            Integer defaultValue)
      • getLocalDateTime

        protected static LocalDateTime getLocalDateTime​(int pathIndex,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        boolean required,
                                                        LocalDateTime defaultValue)
      • getLocalDateTime

        protected static LocalDateTime getLocalDateTime​(String name,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        boolean required,
                                                        LocalDateTime defaultValue)
      • getLocale

        protected static Locale getLocale​(int pathIndex,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          Locale defaultValue)
      • getLocale

        protected static Locale getLocale​(String name,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          Locale defaultValue)
      • getLong

        protected static Long getLong​(int pathIndex,
                                      javax.servlet.http.HttpServletRequest request,
                                      boolean required,
                                      Long defaultValue)
      • getLong

        protected static Long getLong​(String name,
                                      javax.servlet.http.HttpServletRequest request,
                                      boolean required,
                                      Long defaultValue)
      • getPathPart

        protected static String getPathPart​(int pathIndex,
                                            javax.servlet.http.HttpServletRequest request)
      • getString

        protected static String getString​(int pathIndex,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          String defaultValue)
      • getString

        protected static String getString​(String name,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          String defaultValue)
      • getUuid

        protected static UUID getUuid​(int pathIndex,
                                      javax.servlet.http.HttpServletRequest request,
                                      boolean required,
                                      UUID defaultValue)
      • getUuid

        protected static UUID getUuid​(String name,
                                      javax.servlet.http.HttpServletRequest request,
                                      boolean required,
                                      UUID defaultValue)
      • getZoneId

        protected static ZoneId getZoneId​(int pathIndex,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          ZoneId defaultValue)
      • getZoneId

        protected static ZoneId getZoneId​(String name,
                                          javax.servlet.http.HttpServletRequest request,
                                          boolean required,
                                          ZoneId defaultValue)
      • parseMultipart

        protected static AServletParameter.MultipartRequest parseMultipart​(javax.servlet.http.HttpServletRequest req)
                                                                    throws org.apache.commons.fileupload.FileUploadException
        Throws:
        org.apache.commons.fileupload.FileUploadException
      • toEnum

        protected static <E extends Enum<E>> E toEnum​(String name,
                                                      String value,
                                                      boolean required,
                                                      E defaultValue,
                                                      Class<E> enumClass)
      • toLocale

        protected static Locale toLocale​(String name,
                                         String languageTag,
                                         boolean required,
                                         Locale defaultValue)
      • toLong

        protected static Long toLong​(String name,
                                     String value,
                                     boolean required,
                                     Long defaultValue)
      • toUuid

        protected static UUID toUuid​(String name,
                                     String value,
                                     boolean required,
                                     UUID defaultValue)