Package lumis.portal.rest.resource
Class LocaleResource
- java.lang.Object
-
- lumis.portal.rest.resource.LocaleResource
-
@Path("/lumsetlocale") public class LocaleResource extends java.lang.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 Summary
Constructors Constructor Description LocaleResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLocalePost(HttpServletRequest request, HttpServletResponse response, java.lang.String localeId)
Resource that accepts HTTP requests with POST method.
-
-
-
Method Detail
-
setLocalePost
@Path("/{locale}") @POST public void setLocalePost(@Context HttpServletRequest request, @Context HttpServletResponse response, @PathParam("locale") java.lang.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
-
-