[ADD] some javadoc
[ADD] added constant for http status code