@WebTestConfig(classes=CapRouteUrlMatchMockConfig.class) public class UrlMatchingRuleTest extends java.lang.Object
| 构造器和说明 |
|---|
UrlMatchingRuleTest() |
| 限定符和类型 | 方法和说明 |
|---|---|
javax.servlet.http.HttpServletRequest |
buildBodyParamRequest() |
javax.servlet.http.HttpServletRequest |
buildHeaderParamRequest() |
javax.servlet.http.HttpServletRequest |
buildModuleIdBodyParamRequest() |
javax.servlet.http.HttpServletRequest |
buildMutilJsonPostRequest() |
javax.servlet.http.HttpServletRequest |
buildPathParamRequest() |
javax.servlet.http.HttpServletRequest |
buildQueryParamRequest() |
javax.servlet.http.HttpServletRequest |
buildUrlJsonParamRequest() |
void |
init() |
void |
jexlTest() |
void |
testBodyParam() |
void |
testHeaderParam() |
void |
testModuleIdBodyParam() |
void |
testMultiJsonBodyParam() |
void |
testPathParam() |
void |
testQueryParam() |
void |
testUrlJsonParam() |
public void init()
public javax.servlet.http.HttpServletRequest buildPathParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testPathParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic javax.servlet.http.HttpServletRequest buildQueryParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testQueryParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic javax.servlet.http.HttpServletRequest buildUrlJsonParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testUrlJsonParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic javax.servlet.http.HttpServletRequest buildBodyParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testBodyParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic javax.servlet.http.HttpServletRequest buildModuleIdBodyParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic javax.servlet.http.HttpServletRequest buildMutilJsonPostRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testMultiJsonBodyParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void testModuleIdBodyParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic javax.servlet.http.HttpServletRequest buildHeaderParamRequest()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void testHeaderParam()
throws java.net.URISyntaxException,
com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void jexlTest()