Package org.thymeleaf.web.servlet
Class JakartaServletWebApplication
Object
org.thymeleaf.web.servlet.JakartaServletWebApplication
- All Implemented Interfaces:
IWebApplication,IServletWebApplication
- Since:
- 3.1.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic JakartaServletWebApplicationbuildApplication(jakarta.servlet.ServletContext servletContext) buildExchange(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) getAttributeValue(String name) getResource(String path) getResourceAsStream(String path) voidsetAttributeValue(String name, Object value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.web.servlet.IServletWebApplication
containsAttribute, getAllAttributeNames, getAttributeCount, getAttributeMap, removeAttribute, resourceExists
-
Method Details
-
buildApplication
public static JakartaServletWebApplication buildApplication(jakarta.servlet.ServletContext servletContext) -
buildExchange
public IServletWebExchange buildExchange(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) -
getAttributeNames
- Specified by:
getAttributeNamesin interfaceIServletWebApplication
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceIWebApplication
-
setAttributeValue
- Specified by:
setAttributeValuein interfaceIWebApplication
-
getResourceAsStream
- Specified by:
getResourceAsStreamin interfaceIWebApplication
-
getResource
- Specified by:
getResourcein interfaceIServletWebApplication- Throws:
MalformedURLException
-
getNativeServletContextObject
- Specified by:
getNativeServletContextObjectin interfaceIServletWebApplication
-