接口 org.eclipse.jetty.client.security.Authentication
的使用

使用 Authentication 的软件包
org.eclipse.jetty.client   
org.eclipse.jetty.client.security   
 

org.eclipse.jetty.client 中 Authentication 的使用
 

返回 Authentication 的 org.eclipse.jetty.client 中的方法
 Authentication HttpDestination.getProxyAuthentication()
           
 Authentication HttpClient.getProxyAuthentication()
           
 

参数类型为 Authentication 的 org.eclipse.jetty.client 中的方法
 void HttpDestination.addAuthorization(String pathSpec, Authentication authorization)
           
 void HttpDestination.setProxyAuthentication(Authentication authentication)
           
 void HttpClient.setProxyAuthentication(Authentication authentication)
           
 

org.eclipse.jetty.client.security 中 Authentication 的使用
 

实现 Authentication 的 org.eclipse.jetty.client.security 中的类
 class BasicAuthentication
          Sets authentication headers for BASIC authentication challenges
 class DigestAuthentication
           
 class ProxyAuthorization
          Sets proxy authentication headers for BASIC authentication challenges
 



Copyright © 2013. All Rights Reserved.