@InterfaceAudience.Private public final class HttpServerUtil extends Object
Modifier | Constructor and Description |
---|---|
private |
HttpServerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
constrainHttpMethods(org.eclipse.jetty.servlet.ServletContextHandler ctxHandler,
boolean allowOptionsMethod)
Add constraints to a Jetty Context to disallow undesirable Http methods.
|
private HttpServerUtil()
public static void constrainHttpMethods(org.eclipse.jetty.servlet.ServletContextHandler ctxHandler, boolean allowOptionsMethod)
ctxHandler
- The context to modifyallowOptionsMethod
- if true then OPTIONS method will not be set in constraint mappingCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.