@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.URISyntaxException
public void testPathParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public javax.servlet.http.HttpServletRequest buildQueryParamRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public void testQueryParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public javax.servlet.http.HttpServletRequest buildUrlJsonParamRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public void testUrlJsonParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public javax.servlet.http.HttpServletRequest buildBodyParamRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public void testBodyParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public javax.servlet.http.HttpServletRequest buildModuleIdBodyParamRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public javax.servlet.http.HttpServletRequest buildMutilJsonPostRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public void testMultiJsonBodyParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public void testModuleIdBodyParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public javax.servlet.http.HttpServletRequest buildHeaderParamRequest() throws java.net.URISyntaxException
java.net.URISyntaxException
public void testHeaderParam() throws java.net.URISyntaxException, com.seeyon.ctp.common.exceptions.BusinessException
java.net.URISyntaxException
com.seeyon.ctp.common.exceptions.BusinessException
public void jexlTest()