Class PrefixedFormInjector

    • Field Detail

      • prefix

        private final java.lang.String prefix
    • Constructor Detail

      • PrefixedFormInjector

        public PrefixedFormInjector​(java.lang.Class type,
                                    java.lang.String prefix,
                                    ResteasyProviderFactory factory)
        Constructor setting the prefix.
    • Method Detail

      • containsPrefixedFormFieldsWithValue

        private boolean containsPrefixedFormFieldsWithValue​(javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> decodedFormParameters)
        Checks to see if the decodedParameters contains any form fields starting with the prefix. Also checks if the value is not empty.
      • hasValue

        protected boolean hasValue​(java.util.List<java.lang.String> list)
        Checks that the list has an non empty value.