@Override /* Callable */ public Integer call() throws Exception { return run(); } }
@Override /* Callable */ public Integer call() throws Exception { return run(); } }
@Override /* Callable */ public Integer call() throws Exception { return run(); } }
/** * Connects to the remote resource (if {@code connect()} hasn't already been called) and returns the HTTP response code. * * <p> * Useful if you're only interested in the status code and not the body of the response. * * <p> * The response entity is discarded unless one of the pipe methods have been specified to pipe the output to an * output stream or writer. * * @return The response code. * @throws RestCallException If an exception or non-200 response code occurred during the connection attempt. * @throws IOException If an exception occurred while streaming was already occurring. */ public int getResponseCode() throws IOException { return run(); }
/** * Connects to the remote resource (if {@code connect()} hasn't already been called) and returns the HTTP response code. * * <p> * Useful if you're only interested in the status code and not the body of the response. * * <p> * The response entity is discarded unless one of the pipe methods have been specified to pipe the output to an * output stream or writer. * * @return The response code. * @throws RestCallException If an exception or non-200 response code occurred during the connection attempt. * @throws IOException If an exception occurred while streaming was already occurring. */ public int getResponseCode() throws IOException { return run(); }
/** * Connects to the remote resource (if {@code connect()} hasn't already been called) and returns the HTTP response code. * * <p> * Useful if you're only interested in the status code and not the body of the response. * * <p> * The response entity is discarded unless one of the pipe methods have been specified to pipe the output to an * output stream or writer. * * @return The response code. * @throws RestCallException If an exception or non-200 response code occurred during the connection attempt. * @throws IOException If an exception occurred while streaming was already occurring. */ public int getResponseCode() throws IOException { return run(); }