I looked in the source code and discovered the value was being set in
com.sun.grizzly.http.servlet.ServletAdapter.service(GrizzlyRequest request,
GrizzlyResponse response). There is even a note stating this should be a
configurable value. The exact code is: //TODO: Make this configurable.
httpResponse.addHeader("server", "grizzly/" + Grizzly.getDotedVersion());
Reference:
http://java.net/projects/grizzly/sources/svn/content/tags/1_9_4/modules/http-servlet/src/main/java/com/sun/grizzly/http/servlet/ServletAdapter.java?rev=6315
I ended up creating a class that extends ServletAdapter and overriding that
method. What I have below accomplished what I needed. public class
XyzServletAdapter extends ServletAdapter { @Override public void
service(GrizzlyRequest request, GrizzlyResponse response) {
super.service(request, response); response.setHeader("server", "XYZ"); } }
--
[Message sent by forum member 'bamundson']
View Post: http://forums.java.net/node/884238