public class HttpServerUtil extends Object
| 构造器和说明 |
|---|
HttpServerUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
constrainHttpMethods(org.mortbay.jetty.servlet.Context context,
boolean allowOptionsMethod)
Add constraints to a Jetty Context to disallow undesirable Http methods.
|
public static void constrainHttpMethods(org.mortbay.jetty.servlet.Context context,
boolean allowOptionsMethod)
context - 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.