RequestFilter for all my WSClients objects

24 weergaven
Naar het eerste ongelezen bericht

doc...@paradigmadigital.com

ongelezen,
18 sep 2017, 02:03:3218-09-2017
aan Play Framework
So I was wondering if there exists the option to tell play that all WSRequest must use a specific filter without writing explicitely `withRequestFilter(myFilter)`. I guess I could do something with AOP from Guice but I am looking for a play solution. For example, the timeouts can be configured on application.conf as the documentation says:

https://www.playframework.com/documentation/2.5.x/JavaWS#configuring-ws

Any idea?

Will Sargent

ongelezen,
19 sep 2017, 01:14:4019-09-2017
aan play-fr...@googlegroups.com
Define your own WSClient with a URL that has the filter and bind it.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/65616e8f-f46a-4083-a570-ab5bface59e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten