|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validator
Interface to web resources that validate data.
Method Summary | |
---|---|
java.io.InputStream |
validate(java.io.InputStream inputStream)
Method acts as a filter: it is passed an input stream and should return a input stream of validated data suitable for immediate reading. |
Method Detail |
---|
java.io.InputStream validate(java.io.InputStream inputStream) throws java.io.IOException, ValidatorException
Method may be called on input data after it is parsed, or output data before it is serialized.
inputStream
- raw (pre-validated) stream to be read
java.io.IOException
- on any network error
ValidatorException
- on any Validator-specific error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |