@RestResource(allowedMethodParams="OPTIONS") @HtmlDocConfig(navlinks={"up: request:/..","options: servlet:/?method=OPTIONS"}) public abstract class BasicRest extends Object implements BasicRestConfig
BasicRestServlet
but doesn't extend from HttpServlet
Constructor and Description |
---|
BasicRest() |
Modifier and Type | Method and Description |
---|---|
Swagger |
getOptions(RestRequest req)
[OPTIONS /*] - Show resource options.
|
public BasicRest()
public Swagger getOptions(RestRequest req)
getOptions
in interface BasicRestConfig
req
- The HTTP request.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.