Class V1BridgeConfigurationHttpHandler

  • All Implemented Interfaces:
    de.dytanic.cloudnet.driver.network.http.IHttpHandler, de.dytanic.cloudnet.driver.network.http.IMethodHttpHandler

    public final class V1BridgeConfigurationHttpHandler
    extends de.dytanic.cloudnet.http.V1HttpHandler
    • Field Summary

      • Fields inherited from class de.dytanic.cloudnet.http.V1HttpHandler

        GSON, HTTP_SESSION
      • Fields inherited from interface de.dytanic.cloudnet.driver.network.http.IHttpHandler

        PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_LOWEST, PRIORITY_NORMAL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleGet​(java.lang.String path, de.dytanic.cloudnet.driver.network.http.IHttpContext context)  
      void handleOptions​(java.lang.String path, de.dytanic.cloudnet.driver.network.http.IHttpContext context)  
      void handlePost​(java.lang.String path, de.dytanic.cloudnet.driver.network.http.IHttpContext context)  
      • Methods inherited from class de.dytanic.cloudnet.http.V1HttpHandler

        checkPermission, containsStringElementInCollection, getCloudNet, getPermission, handle, send400Response, send403Response, sendOptions
      • Methods inherited from class de.dytanic.cloudnet.driver.network.http.MethodHttpHandlerAdapter

        handleConnect, handleDelete, handleHead, handlePatch, handlePut, handleTrace
      • Methods inherited from class java.lang.Object

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

      • V1BridgeConfigurationHttpHandler

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

      • handleOptions

        public void handleOptions​(java.lang.String path,
                                  de.dytanic.cloudnet.driver.network.http.IHttpContext context)
        Specified by:
        handleOptions in interface de.dytanic.cloudnet.driver.network.http.IMethodHttpHandler
        Overrides:
        handleOptions in class de.dytanic.cloudnet.driver.network.http.MethodHttpHandlerAdapter
      • handleGet

        public void handleGet​(java.lang.String path,
                              de.dytanic.cloudnet.driver.network.http.IHttpContext context)
        Specified by:
        handleGet in interface de.dytanic.cloudnet.driver.network.http.IMethodHttpHandler
        Overrides:
        handleGet in class de.dytanic.cloudnet.driver.network.http.MethodHttpHandlerAdapter
      • handlePost

        public void handlePost​(java.lang.String path,
                               de.dytanic.cloudnet.driver.network.http.IHttpContext context)
                        throws java.lang.Exception
        Specified by:
        handlePost in interface de.dytanic.cloudnet.driver.network.http.IMethodHttpHandler
        Overrides:
        handlePost in class de.dytanic.cloudnet.driver.network.http.MethodHttpHandlerAdapter
        Throws:
        java.lang.Exception