public interface Host extends Closeable
Implementation must be immutable and thread-safe.
Resource fetch(URI uri) throws IOException
uri - Name of resourceIOException - If some error with I/O insideboolean isHidden(URI uri) throws IOException
uri - Which URI we're trying to accessIOException - If some error with I/O insideboolean authorized(String user, String password) throws IOException
user - User namepassword - PasswordIOException - If some error with I/O insideCopyright © 2012 s3auth.com. All Rights Reserved.