public class CrossOriginFilter extends Object implements ActionFilter
Modifier and Type | Field and Description |
---|---|
protected String |
credentials |
protected String |
headers |
protected String |
methods |
protected String |
origin |
Constructor and Description |
---|
CrossOriginFilter() |
CrossOriginFilter(String origin,
String methods,
String headers,
String credentials) |
protected String origin
protected String methods
protected String headers
protected String credentials
public View match(ActionContext ac)
ActionFilter
match
in interface ActionFilter
ac
- 执行上下文Copyright © 2017. All rights reserved.