Using HttpStatus class for http constants.