public abstract class HttpPolicyPointcutParameters
extends org.mule.runtime.policy.api.PolicyPointcutParameters
PolicyPointcutParameters for HTTP.| Constructor and Description |
|---|
HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
org.mule.runtime.policy.api.PolicyPointcutParameters sourceParameters,
String path,
String method)
Creates a new
PolicyPointcutParameters |
HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
org.mule.runtime.policy.api.PolicyPointcutParameters sourceParameters,
String path,
String method,
String maskedRequestPath,
org.mule.runtime.api.util.MultiMap<String,String> headers)
Creates a new
PolicyPointcutParameters |
HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
String path,
String method)
Creates a new
PolicyPointcutParameters |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.mule.runtime.api.util.MultiMap<String,String> |
getHeaders() |
String |
getMaskedRequestPath() |
String |
getMethod() |
String |
getPath() |
int |
hashCode() |
void |
setHeaders(org.mule.runtime.api.util.MultiMap<String,String> headers)
Setter added to overcome that this is an abstract class and the constructor that sets this field was added in a later runtime
version, thus not possible to be invoked using reflection from older versions.
|
void |
setMaskedRequestPath(String maskedRequestPath)
Setter added to overcome that this is an abstract class and the constructor that sets this field was added in a later API
version, thus not possible to be invoked using reflection from older versions.
|
public HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
String path,
String method)
PolicyPointcutParameterscomponent - the component where the policy is being applied.path - the target path of the messagemethod - the HTTP method of the messagepublic HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
org.mule.runtime.policy.api.PolicyPointcutParameters sourceParameters,
String path,
String method)
PolicyPointcutParameterscomponent - the component where the policy is being applied.sourceParameters - parameters used to match pointcuts of source policiespath - the target path of the messagemethod - the HTTP method of the messagepublic HttpPolicyPointcutParameters(org.mule.runtime.api.component.Component component,
org.mule.runtime.policy.api.PolicyPointcutParameters sourceParameters,
String path,
String method,
String maskedRequestPath,
org.mule.runtime.api.util.MultiMap<String,String> headers)
PolicyPointcutParameterscomponent - the component where the policy is being applied.sourceParameters - parameters used to match pointcuts of source policiespath - the target path of the messagemethod - the HTTP method of the messagemaskedRequestPath - the target path of the http message without the base path where the listener is deployedheaders - the HTTP headers of the messagepublic String getPath()
public String getMethod()
public String getMaskedRequestPath()
listenerPath is open (ends with a wildcard) and will be null otherwise.public org.mule.runtime.api.util.MultiMap<String,String> getHeaders()
public void setHeaders(org.mule.runtime.api.util.MultiMap<String,String> headers)
public void setMaskedRequestPath(String maskedRequestPath)
public int hashCode()
hashCode in class org.mule.runtime.policy.api.PolicyPointcutParameterspublic boolean equals(Object obj)
equals in class org.mule.runtime.policy.api.PolicyPointcutParametersCopyright © 2025 MuleSoft, Inc.. All rights reserved.