Class ModeResource


  • @Path("/lum-internal/admin/mode")
    public class ModeResource
    extends java.lang.Object
    Mode Resource
    Since:
    7.1.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      ModeResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModeUrl​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      java.lang.String getToggleModeUrl​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class java.lang.Object

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

      • ModeResource

        public ModeResource()
    • Method Detail

      • getToggleModeUrl

        @POST
        @Path("/gettogglemodeurl")
        @Produces("application/json")
        public java.lang.String getToggleModeUrl​(@Context
                                                 javax.servlet.http.HttpServletRequest request,
                                                 @Context
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getModeUrl

        @POST
        @Path("/getmodeurl")
        @Produces("application/json")
        public java.lang.String getModeUrl​(@Context
                                           javax.servlet.http.HttpServletRequest request,
                                           @Context
                                           javax.servlet.http.HttpServletResponse response)
                                    throws java.io.IOException
        Throws:
        java.io.IOException