Enonic Market Enonic Market
Router Lib icon

Router Lib

HTTP Router Library

This library implements a simple HTTP router that can be used in XP app's main controller.

Releases

  1. 2.1.0

    • The library can now be used in sites and admin tools
    • Compatibility:
      • 7.0.0
  2. 2.0.0

    • Compatibility with XP7
    • Compatibility:
      • 7.0.0
  3. 1.0.1

    • Bug: Handle paths ending with slash
    • Compatibility:
      • 6.11.0
  4. 1.0.0

    • Initial release
    • Compatibility:
      • 6.11.0

Comments

Download Router Lib

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com.enonic.lib:lib-router:2.1.0'
}

Download the source code for Router Lib

Documentation for Router Lib