Uses of Enum Class
cn.dev33.satoken.router.SaHttpMethod
Packages that use SaHttpMethod
Package
Description
因为不能确定最终运行的 web 容器属于标准 Servlet 模型还是非 Servlet 模型,特封装此包下的包装类进行对接。
-
Uses of SaHttpMethod in cn.dev33.satoken.context.model
Methods in cn.dev33.satoken.context.model with parameters of type SaHttpMethodModifier and TypeMethodDescriptiondefault booleanSaRequest.isMethod(SaHttpMethod method) 返回当前请求 Method 是否为指定值 -
Uses of SaHttpMethod in cn.dev33.satoken.router
Methods in cn.dev33.satoken.router that return SaHttpMethodModifier and TypeMethodDescriptionstatic SaHttpMethodString 转 enumstatic SaHttpMethod[]SaHttpMethod.toEnumArray(String... methods) String[] 转 enum[]static SaHttpMethodReturns the enum constant of this class with the specified name.static SaHttpMethod[]SaHttpMethod.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cn.dev33.satoken.router with parameters of type SaHttpMethodModifier and TypeMethodDescriptionstatic booleanSaRouter.isMatch(SaHttpMethod[] methods, String methodString) Http请求方法匹配static booleanSaRouter.isMatchCurrMethod(SaHttpMethod[] methods) Http请求方法匹配 (使用当前请求方式)static SaRouterStaffSaRouter.match(SaHttpMethod... methods) Http请求方式匹配 (Enum)SaRouterStaff.match(SaHttpMethod... methods) Http请求方法匹配 (Enum)static SaRouterStaffSaRouter.notMatch(SaHttpMethod... methods) Http请求方法匹配排除 (Enum)SaRouterStaff.notMatch(SaHttpMethod... methods) Http请求方法匹配排除 (Enum)