Class AccountResource


  • @Path("{a:v1/account|v1.0/account|account}")
    public class AccountResource
    extends java.lang.Object
    Account resource. Handles account related requests.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      AccountResource()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response changePassword​(java.lang.String data, javax.servlet.http.HttpServletRequest httpServletRequest)  
      javax.ws.rs.core.Response logIn​(java.lang.String data, javax.servlet.http.HttpServletRequest httpServletRequest)  
      javax.ws.rs.core.Response recover​(java.lang.String data, javax.servlet.http.HttpServletRequest httpServletRequest)  
      javax.ws.rs.core.Response signUp​(java.lang.String data, javax.servlet.http.HttpServletRequest httpServletRequest)  
      javax.ws.rs.core.Response verify​(java.lang.String data, javax.servlet.http.HttpServletRequest httpServletRequest)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccountResource

        public AccountResource()
        Constructor.
        Since:
        1.0
    • Method Detail

      • changePassword

        @Consumes("application/json")
        @POST
        @Path("changePassword")
        public javax.ws.rs.core.Response changePassword​(java.lang.String data,
                                                        @Context
                                                        javax.servlet.http.HttpServletRequest httpServletRequest)
      • logIn

        @Consumes("application/json")
        @POST
        @Path("logIn")
        @Produces("application/json")
        public javax.ws.rs.core.Response logIn​(java.lang.String data,
                                               @Context
                                               javax.servlet.http.HttpServletRequest httpServletRequest)
      • recover

        @Consumes("application/json")
        @POST
        @Path("recover")
        public javax.ws.rs.core.Response recover​(java.lang.String data,
                                                 @Context
                                                 javax.servlet.http.HttpServletRequest httpServletRequest)
      • signUp

        @Consumes("application/json")
        @POST
        @Path("signUp")
        public javax.ws.rs.core.Response signUp​(java.lang.String data,
                                                @Context
                                                javax.servlet.http.HttpServletRequest httpServletRequest)
      • verify

        @Consumes("application/json")
        @POST
        @Path("verify")
        @Produces("application/json")
        public javax.ws.rs.core.Response verify​(java.lang.String data,
                                                @Context
                                                javax.servlet.http.HttpServletRequest httpServletRequest)