Class HttpServerUtil

java.lang.Object
org.apache.hadoop.hbase.http.HttpServerUtil

@Private public final class HttpServerUtil extends Object
HttpServer utility.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    constrainHttpMethods(org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletContextHandler ctxHandler, boolean allowOptionsMethod)
    Add constraints to a Jetty Context to disallow undesirable Http methods.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • constrainHttpMethods

      public static void constrainHttpMethods(org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletContextHandler ctxHandler, boolean allowOptionsMethod)
      Add constraints to a Jetty Context to disallow undesirable Http methods.
      Parameters:
      ctxHandler - The context to modify
      allowOptionsMethod - if true then OPTIONS method will not be set in constraint mapping