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