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