Java org.apache.http.auth AuthScope fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.auth AuthScope fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.auth AuthScope.

The text is from its open source code.

Field

StringANY_HOST
The null value represents any host.
intANY_PORT
The -1 value represents any port.
StringANY_REALM
The null value represents any realm.
StringANY_SCHEME
The null value represents any authentication scheme.
AuthScopeANY
Default scope matching any host, port, realm and authentication scheme.

Constructor

AuthScope(final String host, final int port)
Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.
AuthScope(final HttpHost host)
AuthScope(final AuthScope authscope)
Creates a copy of the given credentials scope.
AuthScope(final HttpHost host, final String realm, final String schemeName)
AuthScope(final String host, final int port, final String realm)
Creates a new credentials scope for the given host, port, realm, and any authentication scheme.
AuthScope(final String host, final int port, final String realm, final String scheme)
Creates a new credentials scope for the given host, port, realm, and authentication scheme.

Method

StringgetHost()
intgetPort()
StringgetRealm()
StringgetScheme()
intmatch(final AuthScope that)
Tests if the authentication scopes match.