Esempio n. 1
0
 ResponseStatus(final int statusCode, final String reasonPhrase) {
   this.code = statusCode;
   this.reason = reasonPhrase;
   this.family = Family.familyOf(statusCode);
 }
 @Override
 public Family getFamily() {
   return Family.familyOf(code);
 }
Esempio n. 3
0
 @Override
 public Family getFamily() {
   return Family.familyOf(statusCode);
 }