public class AbstractRouterFunctionVisitor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
attributes
The Attributes.
|
protected boolean |
isNested
The Is nested.
|
protected boolean |
isOr
The Is or.
|
protected List<String> |
nestedAcceptHeaders
The Nested accept headers.
|
protected List<String> |
nestedAndPaths
The Nested and paths.
|
protected List<String> |
nestedContentTypeHeaders
The Nested content type headers.
|
protected List<String> |
nestedOrPaths
The Nested or paths.
|
protected RouterFunctionData |
routerFunctionData
The Router function data.
|
protected List<RouterFunctionData> |
routerFunctionDatas
The Router function datas.
|
| Constructor and Description |
|---|
AbstractRouterFunctionVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
and()
And.
|
void |
attributes(Map<String,Object> map)
Attributes.
|
protected void |
computeNested()
Compute nested.
|
void |
endAnd()
End and.
|
void |
endNegate()
End negate.
|
void |
endOr()
End or.
|
List<RouterFunctionData> |
getRouterFunctionDatas()
Gets router function datas.
|
void |
header(String name,
String value)
Header.
|
void |
method(Set<org.springframework.http.HttpMethod> methods)
Method.
|
void |
or()
Or.
|
void |
param(String name,
String value)
Param.
|
void |
path(String pattern)
Path.
|
void |
pathExtension(String extension)
Path extension.
|
void |
queryParam(String name,
String value)
Query param.
|
protected void |
route()
Route.
|
void |
startAnd()
Start and.
|
void |
startNegate()
Start negate.
|
void |
startOr()
Start or.
|
protected List<RouterFunctionData> routerFunctionDatas
protected List<String> nestedContentTypeHeaders
protected boolean isOr
protected boolean isNested
protected RouterFunctionData routerFunctionData
public void method(Set<org.springframework.http.HttpMethod> methods)
methods - the methodspublic void path(String pattern)
pattern - the patternpublic void header(String name, String value)
name - the namevalue - the valuepublic List<RouterFunctionData> getRouterFunctionDatas()
public void queryParam(String name, String value)
name - the namevalue - the valuepublic void pathExtension(String extension)
extension - the extensionpublic void param(String name, String value)
name - the namevalue - the valuepublic void startAnd()
public void and()
public void endAnd()
public void startOr()
public void or()
public void endOr()
public void startNegate()
public void endNegate()
protected void computeNested()
protected void route()
Copyright © 2020. All rights reserved.