public class

DefaultTargetAuthenticationHandler

extends AbstractAuthenticationHandler
java.lang.Object
   ↳ org.apache.http.impl.client.AbstractAuthenticationHandler
     ↳ org.apache.http.impl.client.DefaultTargetAuthenticationHandler

Class Overview

Default AuthenticationHandler implementation for target host authentication.

Summary

Public Constructors
DefaultTargetAuthenticationHandler()
Public Methods
Map<StringHeader> getChallenges(HttpResponse response, HttpContext context)
boolean isAuthenticationRequested(HttpResponse response, HttpContext context)
Protected Methods
List<String> getAuthPreferences(HttpResponse response, HttpContext context)
Returns default list of auth scheme names in their order of preference based on the HTTP response and the current execution context.
[Expand]
Inherited Methods
From class org.apache.http.impl.client.AbstractAuthenticationHandler
From class java.lang.Object
From interface org.apache.http.client.AuthenticationHandler

Public Constructors

public DefaultTargetAuthenticationHandler ()

Also: HttpClient

Public Methods

public Map<StringHeader> getChallenges (HttpResponse response, HttpContext context)

Also: HttpClient

public boolean isAuthenticationRequested (HttpResponse response, HttpContext context)

Also: HttpClient

Protected Methods

protected List<String> getAuthPreferences (HttpResponse response, HttpContext context)

Also: HttpClient

Returns default list of auth scheme names in their order of preference based on the HTTP response and the current execution context.

Parameters
response HTTP response.
context HTTP execution context.