Class JavaxServletTestWebExchangeBuilder
Object
org.thymeleaf.testing.templateengine.context.web.JavaxServletTestWebExchangeBuilder
- All Implemented Interfaces:
ITestWebExchangeBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuildExchange
(ITest test, Map<String, Object> exchangeAttributes, Map<String, String[]> requestParameters, Map<String, Object> sessionAttributes, Map<String, Object> applicationAttributes, Locale locale) characterEncoding
(String characterEncoding) contentType
(String contentType) contextPath
(String contextPath) create()
port
(int port) serverName
(String serverName) transformUrlFunction
(Function<String, String> transformUrlFunction)
-
Method Details
-
create
-
method
-
scheme
-
serverName
-
port
-
contextPath
-
contentType
-
characterEncoding
-
transformUrlFunction
public JavaxServletTestWebExchangeBuilder transformUrlFunction(Function<String, String> transformUrlFunction) -
buildExchange
public IWebExchange buildExchange(ITest test, Map<String, Object> exchangeAttributes, Map<String, String[]> requestParameters, Map<String, Object> sessionAttributes, Map<String, Object> applicationAttributes, Locale locale) - Specified by:
buildExchange
in interfaceITestWebExchangeBuilder
-