/** * Gets whether to follow redirects for the connection. * * @param opts The FileSystem options. * @return {@code true} to follow redirects, {@code false} not to. * @see #setFollowRedirect * @since 2.1 */ public boolean getFollowRedirect(final FileSystemOptions opts) { return getBoolean(opts, KEY_FOLLOW_REDIRECT, DEFAULT_FOLLOW_REDIRECT); }
/** * Gets whether to follow redirects for the connection. * * @param opts The FileSystem options. * @return {@code true} to follow redirects, {@code false} not to. * @see #setFollowRedirect * @since 2.1 */ public boolean getFollowRedirect(final FileSystemOptions opts) { return getBoolean(opts, KEY_FOLLOW_REDIRECT, DEFAULT_FOLLOW_REDIRECT); }
/** * Gets whether to follow redirects for the connection. * * @param opts The FileSystem options. * @return {@code true} to follow redirects, {@code false} not to. * @see #setFollowRedirect * @since 2.1 */ public boolean getFollowRedirect(final FileSystemOptions opts) { return getBoolean(opts, KEY_FOLLOW_REDIRECT, DEFAULT_FOLLOW_REDIRECT); }
/** * Determines if the FileSystemOptions indicate that preemptive authentication is requested. * * @param opts The FileSystemOptions. * @return true if preemptiveAuth is requested. * @since 2.0 */ public boolean isPreemptiveAuth(final FileSystemOptions opts) { return getBoolean(opts, KEY_PREEMPTIVE_AUTHENTICATION, Boolean.FALSE).booleanValue(); }
/** * Determines if the FileSystemOptions indicate that preemptive authentication is requested. * * @param opts The FileSystemOptions. * @return true if preemptiveAuth is requested. * @since 2.0 */ public boolean isPreemptiveAuth(final FileSystemOptions opts) { return getBoolean(opts, KEY_PREEMPTIVE_AUTHENTICATION, Boolean.FALSE).booleanValue(); }
/** * Determines if the FileSystemOptions indicate that preemptive authentication is requested. * * @param opts The FileSystemOptions. * @return true if preemptiveAuth is requested. * @since 2.0 */ public boolean isPreemptiveAuth(final FileSystemOptions opts) { return getBoolean(opts, KEY_PREEMPTIVE_AUTHENTICATION, Boolean.FALSE).booleanValue(); }