| Modifier and Type | Class and Description |
|---|---|
static class |
FakeRule.Deserializer |
static class |
FakeRule.Serializer |
| Constructor and Description |
|---|
FakeRule(Rule rule) |
FakeRule(String toStringText,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Rule |
clone() |
String |
getErrorState() |
List<Interceptor> |
getInterceptors() |
RuleKey |
getKey() |
String |
getName() |
SSLContext |
getSslInboundContext() |
SSLProvider |
getSslOutboundContext() |
RuleStatisticCollector |
getStatisticCollector() |
void |
init(Router router) |
boolean |
isActive() |
boolean |
isBlockRequest() |
boolean |
isBlockResponse() |
boolean |
isTargetAdjustHostHeader() |
void |
setBlockRequest(boolean blockStatus) |
void |
setBlockResponse(boolean blockStatus) |
void |
setInterceptors(List<Interceptor> interceptors) |
void |
setKey(RuleKey ruleKey) |
void |
setName(String name) |
String |
toString() |
public FakeRule(Rule rule)
public FakeRule(String toStringText, int port)
public List<Interceptor> getInterceptors()
getInterceptors in interface Rulepublic void setInterceptors(List<Interceptor> interceptors)
setInterceptors in interface Rulepublic boolean isBlockRequest()
isBlockRequest in interface Rulepublic boolean isBlockResponse()
isBlockResponse in interface Rulepublic void setBlockRequest(boolean blockStatus)
setBlockRequest in interface Rulepublic void setBlockResponse(boolean blockStatus)
setBlockResponse in interface Rulepublic RuleStatisticCollector getStatisticCollector()
getStatisticCollector in interface Rulepublic SSLContext getSslInboundContext()
getSslInboundContext in interface Rulepublic SSLProvider getSslOutboundContext()
getSslOutboundContext in interface Rulepublic boolean isTargetAdjustHostHeader()
isTargetAdjustHostHeader in interface Rulepublic String getErrorState()
getErrorState in interface Rulepublic Rule clone() throws CloneNotSupportedException
clone in interface Ruleclone in class ObjectCloneNotSupportedExceptionCopyright © 2021. All Rights Reserved.