类 RouteDefinition

java.lang.Object
com.dinstone.vertx.web.model.RouteDefinition

public class RouteDefinition
extends Object
definition of a route
  • 构造器详细资料

    • RouteDefinition

      public RouteDefinition​(String servicePath, String[] produces, String[] consumes, Method method)
  • 方法详细资料

    • getServicePath

      public String getServicePath()
    • setServicePath

      public void setServicePath​(String servicePath)
    • getMethodPath

      public String getMethodPath()
    • setMethodPath

      public void setMethodPath​(String methodPath)
    • setConsumes

      public void setConsumes​(String[] consumes)
    • setProduces

      public void setProduces​(String[] produces)
    • setHttpMethod

      public void setHttpMethod​(String httpMethod)
    • setMethod

      public void setMethod​(Method method)
    • setReturnType

      public void setReturnType​(Class<?> returnType)
    • getArguments

      public List<Argument> getArguments()
    • setArguments

      public void setArguments​(List<Argument> arguments)
    • getRoutePath

      public String getRoutePath()
    • getConsumes

      public String[] getConsumes()
    • getProduces

      public String[] getProduces()
    • getHttpMethod

      public String getHttpMethod()
    • getMethod

      public Method getMethod()
    • getReturnType

      public Class<?> getReturnType()
    • pathIsRegex

      public boolean pathIsRegex()
    • hasBody

      public boolean hasBody()
    • hasCookies

      public boolean hasCookies()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object