Class V1HttpHandler

    • Field Detail

      • GSON

        protected static final com.google.gson.Gson GSON
      • HTTP_SESSION

        protected static final V1HttpSession HTTP_SESSION
      • permission

        private final java.lang.String permission
    • Constructor Detail

      • V1HttpHandler

        public V1HttpHandler​(java.lang.String permission)
    • Method Detail

      • handle

        public void handle​(java.lang.String path,
                           IHttpContext context)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • checkPermission

        protected boolean checkPermission​(IHttpContext context,
                                          java.lang.String permission)
      • containsStringElementInCollection

        protected boolean containsStringElementInCollection​(java.util.Collection<java.lang.String> collection,
                                                            java.lang.String name)
      • getCloudNet

        protected final CloudNet getCloudNet()
      • getPermission

        public java.lang.String getPermission()