Hi Kevin,

only public constructors are deprecated as you should use its builder to create a new instance of handler.

Something along the lines:

ProxyHandler proxyHandler = ProxyHandler.builder()
                ...//configure what is needed for proxy
                .build();

--
tomaž



On Wed, Oct 2, 2024 at 11:51 PM Kevin Niland <kevinniland97@gmail.com> wrote:
Hi all,

I am using Undertow in my application and have noticed that ProxyHandler is deprecated: https://undertow.io/javadoc/2.0.x/io/undertow/server/handlers/proxy/ProxyHandler.html
There doesn't seem to be anything in the docs about it's replacement, nor can I seem to find anything online about it.

Does anyone know what the replacement is, if there is one?

Thanks,
Kevin
_______________________________________________
undertow-dev mailing list -- undertow-dev@lists.jboss.org
To unsubscribe send an email to undertow-dev-leave@lists.jboss.org
Privacy Statement: https://www.redhat.com/en/about/privacy-policy
List Archives: https://lists.jboss.org/archives/list/undertow-dev@lists.jboss.org/message/PAT6Q6WE6ITRWN4UPYNZHZ6YVZMT52NM/