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 booleanThe Is or.The Nested and paths.The Nested or paths.protected List<RouterFunctionData> The Router function datas. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidand()And.voidattributes(Map<String, Object> map) Attributes.protected voidCompute nested.protected voidCommon route.protected voidCommon start nested.voidendAnd()End and.voidEnd negate.voidendOr()End or.Gets router function datas.voidHeader.voidMethod.voidor()Or.voidParam.voidPath.voidpathExtension(String extension) Path extension.voidqueryParam(String name, String value) Query param.voidstartAnd()Start and.voidStart negate.voidstartOr()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.
-