1 Reply Latest reply on Jan 16, 2013 1:24 AM by Nicklas Karlsson

    customize http codes and reasonphrase in jboss7

    Hamid H Newbie

      hi all

      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