Package org.springdoc.core.fn
Class AbstractRouterFunctionVisitor
java.lang.Object
org.springdoc.core.fn.AbstractRouterFunctionVisitor
The type Abstract router function visitor.
- Author:
- bnasslahsen
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Attributes.protected List<RouterFunctionData>
The Router function data.protected boolean
The Is or.The Nested and paths.The Nested or paths.protected List<RouterFunctionData>
The Router function datas. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
and()
And.void
attributes
(Map<String, Object> map) Attributes.protected void
Compute nested.protected void
Common route.protected void
Common start nested.void
endAnd()
End and.void
End negate.void
endOr()
End or.Gets router function datas.void
Header.void
Method.void
or()
Or.void
Param.void
Path.void
pathExtension
(String extension) Path extension.void
queryParam
(String name, String value) Query param.void
startAnd()
Start and.void
Start negate.void
startOr()
Start or.
-
Field Details
-
routerFunctionDatas
The Router function datas. -
orPaths
The Nested or paths. -
nestedPaths
The Nested and paths. -
isOr
protected boolean isOrThe Is or. -
currentRouterFunctionDatas
The Router function data. -
attributes
The Attributes.
-
-
Constructor Details
-
AbstractRouterFunctionVisitor
public AbstractRouterFunctionVisitor()
-
-
Method Details
-
method
Method.- Parameters:
methods
- the methods
-
path
Path.- Parameters:
pattern
- the pattern
-
header
Header.- Parameters:
name
- the namevalue
- the value
-
getRouterFunctionDatas
Gets router function datas.- Returns:
- the router function datas
-
queryParam
Query param.- Parameters:
name
- the namevalue
- the value
-
pathExtension
Path extension.- Parameters:
extension
- the extension
-
param
Param.- Parameters:
name
- the namevalue
- the value
-
startAnd
public void startAnd()Start and. -
and
public void and()And. -
endAnd
public void endAnd()End and. -
startOr
public void startOr()Start or. -
or
public void or()Or. -
endOr
public void endOr()End or. -
startNegate
public void startNegate()Start negate. -
endNegate
public void endNegate()End negate. -
attributes
Attributes.- Parameters:
map
- the map
-
commonEndNested
protected void commonEndNested()Compute nested. -
commonStartNested
protected void commonStartNested()Common start nested. -
commonRoute
protected void commonRoute()Common route.
-