org.eclipse.jetty.client.security
类 SecurityListener
java.lang.Object
org.eclipse.jetty.client.HttpEventListenerWrapper
org.eclipse.jetty.client.security.SecurityListener
- 所有已实现的接口:
- HttpEventListener
public class SecurityListener
- extends HttpEventListenerWrapper
SecurityListener
Allow for insertion of security dialog when performing an
HttpExchange.
| 从类 org.eclipse.jetty.client.HttpEventListenerWrapper 继承的方法 |
getEventListener, isDelegatingRequests, isDelegatingResponses, onConnectionFailed, onException, onExpire, onRequestCommitted, onResponseContent, onResponseHeaderComplete, setDelegatingRequests, setDelegatingResponses, setDelegationResult, setEventListener |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityListener
public SecurityListener(HttpDestination destination,
HttpExchange ex)
scrapeAuthenticationType
protected String scrapeAuthenticationType(String authString)
- scrapes an authentication type from the authString
- 参数:
authString -
- 返回:
- the authentication type
scrapeAuthenticationDetails
protected Map<String,String> scrapeAuthenticationDetails(String authString)
- scrapes a set of authentication details from the authString
- 参数:
authString -
- 返回:
- the authentication details
onResponseStatus
public void onResponseStatus(Buffer version,
int status,
Buffer reason)
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseStatus - 覆盖:
- 类
HttpEventListenerWrapper 中的 onResponseStatus
- 抛出:
IOException
onResponseHeader
public void onResponseHeader(Buffer name,
Buffer value)
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseHeader - 覆盖:
- 类
HttpEventListenerWrapper 中的 onResponseHeader
- 抛出:
IOException
onRequestComplete
public void onRequestComplete()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onRequestComplete - 覆盖:
- 类
HttpEventListenerWrapper 中的 onRequestComplete
- 抛出:
IOException
onResponseComplete
public void onResponseComplete()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseComplete - 覆盖:
- 类
HttpEventListenerWrapper 中的 onResponseComplete
- 抛出:
IOException
onRetry
public void onRetry()
- 指定者:
- 接口
HttpEventListener 中的 onRetry - 覆盖:
- 类
HttpEventListenerWrapper 中的 onRetry
Copyright © 2013. All Rights Reserved.