I forgot to mention that I am using:
Edition: Enterprise Edition - Professional
Version: 5.4.6
Maybe that is only fixed in 5.5?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=e2f0f91a-351a-47fb-959b-713deeb14aea
grrr ... bad link above ... sorry :-)
Next try:
https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/rest-client-examples/browse
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=e2f0f91a-351a-47fb-959b-713deeb14aea
Hi Kyriakos
I was also trying out quickly some (dummy) ClientRequestFilter(s).
I have registered one via "components" and one via "clientFilters" (which is
deprecated).
The result was (luckily) as expected: Both work fine.
There is a little documentation project which now contains the 2 dummy fi
Kyriakos
I'm glad to hear that it works now.
[quote]I had to replace "components" with "clientFilters" in the
configuration[/quote]
That's astonishing, i would expect both should work. However, thanks for
reporting it, i will check it.
cheers,
chm
--
Context is everything:
http://forum.ma
Thank you very much, it works now!
But I had to replace "components" with "clientFilters" in the configuration,
even though I am using this dependency:
info.magnolia.restclient
magnolia-rest-client-app
1.1
"components" is supposed to work since version 1.0.8+ instead of
"clientFilters"
Kyriakos
I have updated the
[url=https://documentation.magnolia-cms.com/display/DOCS/REST+client+module#RESTclientmodule-Configuration]configuration
section on the docu page[/url].
This way the filter gets registered and is executed with each request.
I hope it works ;-)
--
Context is everyth
Hi Christoph
Thank you for your quick reply!
I have created this class:
[code]package ch.ff;
public class AccessTokenClientRequestFilter implements
javax.ws.rs.client.ClientRequestFilter {
@Override public void filter(ClientRequestContext requestContext)
throws
Hello Kyriakos
I haven't tried out yet, but concerning the docu (which you have linked above)
you can configure a list of "components". Such a component can be a
ClientRequestFilter or ClientResponseFilter.
Also check the resteasy-docu (https://goo.gl/Yu2LII) "Client Side Filters".
kind regard