Class LocaleResource


  • @Path("/lumsetlocale")
    public class LocaleResource
    extends Object
    Resource that treat the change of Locale.
    Since:
    6.1.0
    Version:
    $Revision: 17417 $ $Date: 2015-06-18 15:49:01 -0300 (Thu, 18 Jun 2015) $
    • Constructor Detail

      • LocaleResource

        public LocaleResource()
    • Method Detail

      • setLocalePost

        @Path("/{locale}")
        @POST
        public void setLocalePost​(@Context
                                  HttpServletRequest request,
                                  @Context
                                  HttpServletResponse response,
                                  @PathParam("locale")
                                  String localeId)
        Resource that accepts HTTP requests with POST method.
        Parameters:
        request - request object that contains all informations inputed by the user.
        response - response object that will be sent to the user.
        localeId - the locale to be change.
        Since:
        6.1.0