THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
HttpComponent httpComponent = getContext().getComponent("http", HttpComponent.class); httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer()); |
If you are doing this using the Spring DSL, you can specify your HttpClientConfigurer
using the URI. For example:
Code Block |
---|
<bean id="myHttpClientConfigurer"
class="my.https.HttpClientConfigurer">
</bean>
<to uri="https://myhostname.com:443/myURL?httpClientConfigurerRef=myHttpClientConfigurer"/>
|
As long as you implement the HttpClientConfigurer and configure your keystore and truststore as described above, it will work fine.
Include Page | ||||
---|---|---|---|---|
|
...