can anyone tell me how i can customize http codes and reasonphrase in jboss7?
basically i have a rest webservice that returns a nonstandard status code '499' with reasonphrase 'app error'.
I've set org.apache.coyote.Constants.USE_CUSTOM_STATUS_MSG_IN_HEADER to true in standalone.xml but still jboss overrides the reasonphrase
Have you tried passing it in with -D?
Retrieving data ...