Example usage for org.apache.http.auth.params AuthParamBean AuthParamBean

List of usage examples for org.apache.http.auth.params AuthParamBean AuthParamBean

Introduction

In this page you can find the example usage for org.apache.http.auth.params AuthParamBean AuthParamBean.

Prototype

public AuthParamBean(final HttpParams params) 

Source Link

Usage

From source file:org.apache.camel.component.http4.HttpComponent.java

protected HttpParams configureHttpParams(Map<String, Object> parameters) throws Exception {
    HttpParams clientParams = new BasicHttpParams();

    AuthParamBean authParamBean = new AuthParamBean(clientParams);
    IntrospectionSupport.setProperties(authParamBean, parameters, "httpClient.");

    ClientParamBean clientParamBean = new ClientParamBean(clientParams);
    IntrospectionSupport.setProperties(clientParamBean, parameters, "httpClient.");

    ConnConnectionParamBean connConnectionParamBean = new ConnConnectionParamBean(clientParams);
    IntrospectionSupport.setProperties(connConnectionParamBean, parameters, "httpClient.");

    ConnManagerParamBean connManagerParamBean = new ConnManagerParamBean(clientParams);
    IntrospectionSupport.setProperties(connManagerParamBean, parameters, "httpClient.");

    ConnRouteParamBean connRouteParamBean = new ConnRouteParamBean(clientParams);
    IntrospectionSupport.setProperties(connRouteParamBean, parameters, "httpClient.");

    CookieSpecParamBean cookieSpecParamBean = new CookieSpecParamBean(clientParams);
    IntrospectionSupport.setProperties(cookieSpecParamBean, parameters, "httpClient.");

    HttpConnectionParamBean httpConnectionParamBean = new HttpConnectionParamBean(clientParams);
    IntrospectionSupport.setProperties(httpConnectionParamBean, parameters, "httpClient.");

    HttpProtocolParamBean httpProtocolParamBean = new HttpProtocolParamBean(clientParams);
    IntrospectionSupport.setProperties(httpProtocolParamBean, parameters, "httpClient.");

    return clientParams;
}