AuthScope

Class of org.apache.http.auth · AuthScope.java

public class AuthScope

Fields

public static final String ANY_HOST = null source
public static final String ANY_REALM = null source
public static final String ANY_SCHEME = null source
public static final int ANY_PORT = -1 source
public static final AuthScope ANY source

Constructors

public AuthScope(String host, int port, String realm, String scheme) source
public AuthScope(String host, int port, String realm) source
public AuthScope(String host, int port) source
public AuthScope(AuthScope authscope) source

Methods

public String getHost() source
public int getPort() source
public String getRealm() source
public String getScheme() source
public int match(AuthScope that) source

how well another scope matches this one: -1 for not at all, more for a closer match

public boolean equals(Object o) source
public int hashCode() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.