@InterfaceAudience.Private public final class HttpServerUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
constrainHttpMethods(org.eclipse.jetty.servlet.ServletContextHandler ctxHandler,
boolean allowOptionsMethod)
Add constraints to a Jetty Context to disallow undesirable Http methods.
|
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–2021 The Apache Software Foundation. All rights reserved.