Hi All:

All constants in the HttpStatus class are prefixed with HC_.

Why bother?

IMO this:

if (code == HttpStatus.OK) {
}

reads better than:

if (code == HttpStatus.SC_OK) {
}

I don't have to think about what "SC" means, I already know that I am
talking about a HttpStatus.

Gary

Reply via email to