Skip to content

Instantly share code, notes, and snippets.

@eswdd
Created December 22, 2013 13:57
Show Gist options
  • Save eswdd/8083033 to your computer and use it in GitHub Desktop.
Save eswdd/8083033 to your computer and use it in GitHub Desktop.
How to configure a path alias in the jetty transport in Cougar 3.1. Add this snippet once for each alias into your application's spring context.xml.
...
<!-- add a path alias to the jetty transport -->
<bean parent="cougar.transport.HttpPathAliasIntroducer">
<constructor-arg index="1" value="/webping"/>
<constructor-arg index="2" value="/www/healthcheck/v3/summary"/>
</bean>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment