public int statusCode() {
    return status().entrySet().stream()
        .map(it -> it.getKey())
        .filter(code -> code >= 200 && code < 400)
        .findFirst()
        .orElseGet(() -> type() == void.class ? 204 : 200);
  }
public int statusCode() {
    return status().entrySet().stream()
        .map(it -> it.getKey())
        .filter(code -> code >= 200 && code < 400)
        .findFirst()
        .orElseGet(() -> type() == void.class ? 204 : 200);
  }
public int statusCode ( ) { return status ( ) . entrySet ( ) . stream ( ) . map ( it -> it . getKey ( ) ) . filter ( code -> code >= 200 && code < 400 ) . findFirst ( ) . orElseGet ( ( ) -> type ( ) == void . class ? 204 : 200 ) ; }
Status code.

@return Status code.
Status code .