public class HttpServerUtil extends Object
Constructor and Description |
---|
HttpServerUtil() |
Modifier and Type | Method and Description |
---|---|
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–2019 The Apache Software Foundation. All rights reserved.