agave-common/common-core/src/main/java/org/iplantc/service/common/clients/RequestBin.java
/**
	 * Does this bin exist
	 * @return true if a 200 response
	 * @throws IOException
	 */
Does this bin exist
@return true if a 200 response
@throws IOException
Does this bin exist @return true if a 200 response @throws IOException
public boolean exists() throws IOException {
		if (StringUtils.isEmpty(binId)) {
			throw new IOException("No request bin has been initialized.");
		}
		else
		{
			try {
				log.debug("Checking status of request bin " + this);
				HttpGet get = new HttpGet(BASE_URL + getBinId());
				JsonNode json = doRequest(get);
				return (json != null && !json.isNull());
			} catch (IOException e) {
				return false;
			}
		}
	}
public boolean exists ( ) throws IOException { if ( StringUtils . isEmpty ( binId ) ) { throw new IOException ( "No request bin has been initialized." ) ; } else { try { log . debug ( "Checking status of request bin " + this ) ; HttpGet get = new HttpGet ( BASE_URL + getBinId ( ) ) ; JsonNode json = doRequest ( get ) ; return ( json != null && ! json . isNull ( ) ) ; } catch ( IOException e ) { return false ; } } }
Does this bin exist
 @return true if a 200 response
 @throws IOException
Does this bin exist @return true if a 200 response @throws IOException