Beispiel #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);
 }
Beispiel #3
0
 @Override
 public Family getFamily() {
   return Family.familyOf(statusCode);
 }