Package lumis.portal.rest.resource
Class LocaleResource
- java.lang.Object
-
- lumis.portal.rest.resource.LocaleResource
-
-
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, 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") 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
-
-