public class CoepInterceptor extends AbstractInterceptor implements PreResultListener
Constructor and Description |
---|
CoepInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
beforeResult(ActionInvocation invocation,
String resultCode)
|
String |
intercept(ActionInvocation invocation)
Override to handle interception
|
void |
setEnforcingMode(String mode) |
void |
setExemptedPaths(String paths) |
destroy, init, setDisabled, shouldIntercept
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptor
intercept
in interface Interceptor
intercept
in class AbstractInterceptor
invocation
- the action invocationActionInvocation.invoke()
, or from the interceptor itself.Exception
- any system-level error, as defined in Action.execute()
.public void beforeResult(ActionInvocation invocation, String resultCode)
PreResultListener
beforeResult
in interface PreResultListener
invocation
- the action invocationresultCode
- the result code returned by the action (eg. success
).public void setExemptedPaths(String paths)
public void setEnforcingMode(String mode)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.