내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

OSGI Proxy Configuration

Avatar

Level 3

What is the difference between  Apache HTTP Components Proxy Configuration vs Day Commons HTTP Client 3.1 ? .

As I see both are doing the same proxy configuration. what is difference between them and which should we use in bundle?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Day Commons HTTP client is just a wrapper around Apache HTTP components proxy consfiguration. You can use any one of them. However, Day Commons HTTP client has more support like NTLM authorization aswell.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 10

Day Commons HTTP client is just a wrapper around Apache HTTP components proxy consfiguration. You can use any one of them. However, Day Commons HTTP client has more support like NTLM authorization aswell.

Avatar

Level 3

bsloki wrote...

Day Commons HTTP client is just a wrapper around Apache HTTP components proxy consfiguration. You can use any one of them. However, Day Commons HTTP client has more support like NTLM authorization aswell.

 

If we create a instance for HttpClient , like HttpClient httpClient= new HttpClient() , will this pick the proxy settings automatically? (if we configure the Day Commons HTTP client OSGI settings)

I tested above scenario and its not passing through proxy. is there any thing am missing?

Avatar

Level 10

Its like a service confiiguration. You need to read the configuration parameters and pass as the params for HttpClient to create the client.

Refer below links and hope it helps

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/osgi-configuration-settings.html

https://helpx.adobe.com/experience-manager/using/HttpClient_AEM.html

You can also explore the bundle by downloading from here

https://repo.adobe.com/nexus/content/groups/public/com/day/commons/osgi/wrapper/com.day.commons.osgi...