Class RequestVoter
java.lang.Object
org.hawaiiframework.logging.config.RequestVoter
Request voter allows configuration of excluded URL request based on paths patterns and HTTP
methods.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestVoter(HawaiiLoggingConfigurationProperties properties) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowed(jakarta.servlet.http.HttpServletRequest request) Returntrueif therequestis allowed.
-
Constructor Details
-
RequestVoter
The constructor.- Parameters:
properties- The properties.
-
-
Method Details
-
allowed
public boolean allowed(jakarta.servlet.http.HttpServletRequest request) Returntrueif therequestis allowed.- Parameters:
request- The request to check.- Returns:
trueif therequestis allowed.
-