Class S3GatewayHttpServer

java.lang.Object
org.apache.hadoop.hdds.server.http.BaseHttpServer
org.apache.hadoop.ozone.s3.S3GatewayHttpServer

public class S3GatewayHttpServer extends org.apache.hadoop.hdds.server.http.BaseHttpServer
Http server to provide S3-compatible API.
  • Field Details

    • FILTER_PRIORITY_DO_AFTER

      public static final int FILTER_PRIORITY_DO_AFTER
      Default offset between two filters.
      See Also:
  • Constructor Details

    • S3GatewayHttpServer

      public S3GatewayHttpServer(org.apache.hadoop.hdds.conf.MutableConfigurationSource conf, String name) throws IOException
      Throws:
      IOException
  • Method Details

    • shouldAddDefaultApps

      protected boolean shouldAddDefaultApps()
      Overrides:
      shouldAddDefaultApps in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpAddressKey

      protected String getHttpAddressKey()
      Specified by:
      getHttpAddressKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpBindHostKey

      protected String getHttpBindHostKey()
      Specified by:
      getHttpBindHostKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsAddressKey

      protected String getHttpsAddressKey()
      Specified by:
      getHttpsAddressKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsBindHostKey

      protected String getHttpsBindHostKey()
      Specified by:
      getHttpsBindHostKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getBindHostDefault

      protected String getBindHostDefault()
      Specified by:
      getBindHostDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpBindPortDefault

      protected int getHttpBindPortDefault()
      Specified by:
      getHttpBindPortDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsBindPortDefault

      protected int getHttpsBindPortDefault()
      Specified by:
      getHttpsBindPortDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getKeytabFile

      protected String getKeytabFile()
      Specified by:
      getKeytabFile in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getSpnegoPrincipal

      protected String getSpnegoPrincipal()
      Specified by:
      getSpnegoPrincipal in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getEnabledKey

      protected String getEnabledKey()
      Specified by:
      getEnabledKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpAuthType

      protected String getHttpAuthType()
      Specified by:
      getHttpAuthType in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpAuthConfigPrefix

      protected String getHttpAuthConfigPrefix()
      Specified by:
      getHttpAuthConfigPrefix in class org.apache.hadoop.hdds.server.http.BaseHttpServer