Interface Rule

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AbstractProxy, AbstractServiceProxy, APIProxy, FakeRule, InternalProxy, NullRule, ProxyRule, ServiceProxy, SOAPProxy, SSLableProxy, SSLProxy, STOMPProxy, SwaggerProxy

public interface Rule extends Cloneable
  • Method Details

    • getInterceptors

      List<Interceptor> getInterceptors()
    • setInterceptors

      void setInterceptors(List<Interceptor> interceptors)
    • isBlockRequest

      boolean isBlockRequest()
    • isBlockResponse

      boolean isBlockResponse()
    • getKey

      RuleKey getKey()
    • setKey

      void setKey(RuleKey ruleKey)
    • setName

      void setName(String name)
    • getName

      String getName()
    • setBlockRequest

      void setBlockRequest(boolean blockStatus)
    • setBlockResponse

      void setBlockResponse(boolean blockStatus)
    • getStatisticCollector

      RuleStatisticCollector getStatisticCollector()
    • getSslInboundContext

      SSLContext getSslInboundContext()
    • getSslOutboundContext

      SSLProvider getSslOutboundContext()
    • init

      void init(Router router) throws Exception
      Throws:
      Exception
    • isTargetAdjustHostHeader

      boolean isTargetAdjustHostHeader()
    • isActive

      boolean isActive()
    • getErrorState

      String getErrorState()
    • clone

      Throws:
      CloneNotSupportedException