users@grizzly.java.net

Embedded Grizzly Header Names

From: Jason Morefield <jmorefield_at_expedia.com>
Date: Mon, 29 Mar 2010 11:55:23 -0700

Hello,

        Is there a way to have the embedded Grizzly web server preserver the case of header names? For Example if I have a header which is being sent as "TrackingID" from the client, my adapter is getting "trackingid". Is there a way to preserve the case so that my adapter receives "TrackingID" still? I know that HTTP headers are case insensitive, but for a specific application this would be a huge help. I'm using Grizzly version 1.9.18-k, using the default GrizzlyWebServer. If it cannot be done with configuration, any pointers on the best place to insert code into the chain somewhere to get this accomplished?

Thanks,

Jason Morefield
jmorefield_at_expedia.com