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$ $Date$
-
-
Constructor Summary
Constructors Constructor Description LocaleResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLocalePost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String localeId)
Resource that accepts HTTP requests with POST method.
-
-
-
Method Detail
-
setLocalePost
@Path("/{locale}") @POST public void setLocalePost(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.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
-
-