@Entity public class InterceptorRule extends PersistentObject
A rule is following the schema:
The rules will be evaluated for every request where we determine the most
specific rule to apply.
Allowed values for the rule are ALLOW, DENY, MODIFY.
Allowed values for the event are REQUEST and RESPONSE.
| Constructor and Description |
|---|
InterceptorRule() |
InterceptorRule(HttpEnum.EventType event,
InterceptorEnum.RuleType rule,
OgcEnum.ServiceType service,
OgcEnum.OperationType operation,
String endPoint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEndPoint() |
HttpEnum.EventType |
getEvent() |
OgcEnum.OperationType |
getOperation() |
InterceptorEnum.RuleType |
getRule() |
OgcEnum.ServiceType |
getService() |
int |
hashCode() |
void |
setEndPoint(String endPoint) |
void |
setEvent(HttpEnum.EventType event) |
void |
setOperation(OgcEnum.OperationType operation) |
void |
setRule(InterceptorEnum.RuleType rule) |
void |
setService(OgcEnum.ServiceType service) |
String |
toString() |
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissionspublic InterceptorRule()
public InterceptorRule(HttpEnum.EventType event, InterceptorEnum.RuleType rule, OgcEnum.ServiceType service, OgcEnum.OperationType operation, String endPoint)
rule - service - operation - endPoint - public HttpEnum.EventType getEvent()
public void setEvent(HttpEnum.EventType event)
event - the event to setpublic InterceptorEnum.RuleType getRule()
public void setRule(InterceptorEnum.RuleType rule)
rule - the rule to setpublic OgcEnum.ServiceType getService()
public void setService(OgcEnum.ServiceType service)
service - the service to setpublic OgcEnum.OperationType getOperation()
public void setOperation(OgcEnum.OperationType operation)
operation - the operation to setpublic String getEndPoint()
public void setEndPoint(String endPoint)
endPoint - the endPoint to setpublic int hashCode()
public boolean equals(Object obj)
public String toString()
toString in class PersistentObjectCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.