类 RouteDefinition
java.lang.Object
com.dinstone.vertx.web.model.RouteDefinition
public class RouteDefinition extends Object
definition of a route
-
构造器概要
构造器 构造器 说明 RouteDefinition(String servicePath, String[] produces, String[] consumes, Method method) -
方法概要
修饰符和类型 方法 说明 List<Argument>getArguments()String[]getConsumes()StringgetHttpMethod()MethodgetMethod()StringgetMethodPath()String[]getProduces()Class<?>getReturnType()StringgetRoutePath()StringgetServicePath()booleanhasBody()booleanhasCookies()booleanpathIsRegex()voidsetArguments(List<Argument> arguments)voidsetConsumes(String[] consumes)voidsetHttpMethod(String httpMethod)voidsetMethod(Method method)voidsetMethodPath(String methodPath)voidsetProduces(String[] produces)voidsetReturnType(Class<?> returnType)voidsetServicePath(String servicePath)StringtoString()
-
构造器详细资料
-
RouteDefinition
-
-
方法详细资料
-
getServicePath
-
setServicePath
-
getMethodPath
-
setMethodPath
-
setConsumes
-
setProduces
-
setHttpMethod
-
setMethod
-
setReturnType
-
getArguments
-
setArguments
-
getRoutePath
-
getConsumes
-
getProduces
-
getHttpMethod
-
getMethod
-
getReturnType
-
pathIsRegex
public boolean pathIsRegex() -
hasBody
public boolean hasBody() -
hasCookies
public boolean hasCookies() -
toString
-