I'am using Restlet 2.1 with Spring 3 and I need to remove the header named Server
with value Restlet-Framework/2.1.x
.
I know this information come from ServerInfo.agent
. A solution I found is to change the value in the Response
object, but it could be difficult because I had a lot of resources.
The object Resolver
seems to be interesting, but I don't really find how to use it.
I try to find a generic solution for all my resources. Ideally only change the spring configuration and let the IoC doing the job.