How about writing a servlet filter instead, where you'd "transform" the permutation strong name from the query-string or payload (don't know how you send it) to a header before delegating down the chain to the servlet?
...or extending the servlet and doing similar things (transform the request and response, instead of changing how they're processed/generated) on the process() method.