Class AbstractRouterFunctionVisitor

java.lang.Object
org.springdoc.core.fn.AbstractRouterFunctionVisitor

public class AbstractRouterFunctionVisitor extends Object
The type Abstract router function visitor.
Author:
bnasslahsen
  • Field Details

    • routerFunctionDatas

      protected List<RouterFunctionData> routerFunctionDatas
      The Router function datas.
    • orPaths

      protected List<String> orPaths
      The Nested or paths.
    • nestedPaths

      protected Map<Integer,List<String>> nestedPaths
      The Nested and paths.
    • isOr

      protected boolean isOr
      The Is or.
    • currentRouterFunctionDatas

      protected List<RouterFunctionData> currentRouterFunctionDatas
      The Router function data.
    • attributes

      protected Map<String,Object> attributes
      The Attributes.
  • Constructor Details

    • AbstractRouterFunctionVisitor

      public AbstractRouterFunctionVisitor()
  • Method Details

    • method

      public void method(Set<org.springframework.http.HttpMethod> methods)
      Method.
      Parameters:
      methods - the methods
    • path

      public void path(String pattern)
      Path.
      Parameters:
      pattern - the pattern
    • header

      public void header(String name, String value)
      Header.
      Parameters:
      name - the name
      value - the value
    • getRouterFunctionDatas

      public List<RouterFunctionData> getRouterFunctionDatas()
      Gets router function datas.
      Returns:
      the router function datas
    • queryParam

      public void queryParam(String name, String value)
      Query param.
      Parameters:
      name - the name
      value - the value
    • pathExtension

      public void pathExtension(String extension)
      Path extension.
      Parameters:
      extension - the extension
    • param

      public void param(String name, String value)
      Param.
      Parameters:
      name - the name
      value - 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

      public void attributes(Map<String,Object> map)
      Attributes.
      Parameters:
      map - the map
    • commonEndNested

      protected void commonEndNested()
      Compute nested.
    • commonStartNested

      protected void commonStartNested()
      Common start nested.
    • commonRoute

      protected void commonRoute()
      Common route.