- All Known Implementing Classes:
DefaultServletRequestManager
public interface ServletRequestManager
The ServletRequest manager.
- Author:
- Arjan Tijms, Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescription<T extends EventListener>
voidaddListener
(T listener) Add a listener.void
attributeAdded
(jakarta.servlet.http.HttpServletRequest request, String name, Object value) Fire the attribute added event.void
attributeRemoved
(jakarta.servlet.http.HttpServletRequest request, String name, Object value) Fire the attribute removed event.void
attributeReplaced
(jakarta.servlet.http.HttpServletRequest request, String name, Object value) Fire the attribute replaced event.void
requestDestroyed
(jakarta.servlet.ServletRequest request) Fire the request destroyed event.void
requestInitialized
(jakarta.servlet.ServletRequest request) Fire the request initialized event.
-
Method Details
-
addListener
Add a listener.- Type Parameters:
T
- the type.- Parameters:
listener
- the listener.
-
attributeAdded
Fire the attribute added event.- Parameters:
request
- the request.name
- the name.value
- the value.
-
attributeRemoved
Fire the attribute removed event.- Parameters:
request
- the request.name
- the name.value
- the value
-
attributeReplaced
Fire the attribute replaced event.- Parameters:
request
- the request.name
- the name.value
- the value.
-
requestDestroyed
void requestDestroyed(jakarta.servlet.ServletRequest request) Fire the request destroyed event.- Parameters:
request
- the request.
-
requestInitialized
void requestInitialized(jakarta.servlet.ServletRequest request) Fire the request initialized event.- Parameters:
request
- the request.
-