org.jreform
Interface HttpServletRequestValidator

All Known Subinterfaces:
Form, Group, InputCollection
All Known Implementing Classes:
AbstractForm, AbstractInputCollection, BaseHtmlForm, GroupImpl, HtmlForm

public interface HttpServletRequestValidator

Author:
armandino (at) gmail.com

Method Summary
 Set<String> getErrors()
          Returns a set of error keys describing validation errors or an empty set if the object has not been validated or validation was successful.
 boolean validate(javax.servlet.http.HttpServletRequest req)
          Validates the passed in HttpServletRequest.
 

Method Detail

validate

boolean validate(javax.servlet.http.HttpServletRequest req)
Validates the passed in HttpServletRequest.


getErrors

Set<String> getErrors()
Returns a set of error keys describing validation errors or an empty set if the object has not been validated or validation was successful.



Copyright © 2007-2008 jReform