Skip to content
Permalink
master

Commits on Mar 19, 2014

  1. Add a comparator that allow to give control on test to indicate if 2 …

    …objects are equals. This comparator have also a diff context that can be helpful to know which objects are compared.
    driccio committed Mar 19, 2014

Commits on Jan 7, 2014

  1. Add param context to get locales from http header. Use "locales" to i…

    …nject the locales with type List<Locale>.
    driccio committed Jan 7, 2014

Commits on Dec 24, 2013

  1. Test locale from @param

    driccio committed Dec 24, 2013
  2. Add a way to get Locale on RestxRequest. This locale get be "injected…

    …" in *Resource with Param annotation.
    
    For instance :
    @get("/locale")
    @PermitAll
     public Locale getLocale(@param(kind = Param.Kind.CONTEXT, value = "locale") final Locale locale) {
        return locale;
     }
    
    Conflicts:
    
    	restx-core/src/main/java/restx/RestxRequest.java
    driccio committed Dec 24, 2013
You can’t perform that action at this time.