Class HttpProxyRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class HttpProxyRule
    extends org.junit.rules.ExternalResource
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpProxyRule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void after()  
      protected void before()  
      java.lang.String getHost()  
      int getPort()  
      • Methods inherited from class org.junit.rules.ExternalResource

        apply
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpProxyRule

        public HttpProxyRule()
    • Method Detail

      • before

        protected void before()
                       throws java.lang.Throwable
        Overrides:
        before in class org.junit.rules.ExternalResource
        Throws:
        java.lang.Throwable
      • after

        protected void after()
        Overrides:
        after in class org.junit.rules.ExternalResource
      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()