Package com.xebialabs.xlrelease.rules
Class HttpProxyRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.xebialabs.xlrelease.rules.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 voidafter()protected voidbefore()java.lang.StringgetHost()intgetPort()
-
-
-
Method Detail
-
before
protected void before() throws java.lang.Throwable- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
java.lang.Throwable
-
after
protected void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
getHost
public java.lang.String getHost()
-
getPort
public int getPort()
-
-