130131132133134135136137
} @SuppressWarnings("unchecked") private <OUT extends ServiceResponse> OUT badRequest(ServiceResponse response, String error) { return (OUT) response .badRequest(new ErrorResponse(error)) .setContentTypeJson(); }
109110111112113114115116
@SuppressWarnings("unchecked") @Override protected <OUT extends ServiceResponse> OUT _badRequest(ServiceResponse response, String msg) { return (OUT) response .badRequest(new ErrorResponse(msg)) .setContentTypeJson(); }
112113114115116117118119
108109110111112113114115