org.mockserver.proxy.direct
Class DirectProxy

java.lang.Object
  extended by org.mockserver.proxy.direct.DirectProxy
All Implemented Interfaces:
Proxy

public class DirectProxy
extends Object
implements Proxy

This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class

Author:
jamesdbloom
See Also:
ProxyBuilder

Field Summary
 
Fields inherited from interface org.mockserver.proxy.Proxy
HTTP_PROXY, LOG_FILTER, REMOTE_SOCKET
 
Constructor Summary
DirectProxy(Integer localPort, String remoteHost, Integer remotePort)
           
 
Method Summary
 Integer getLocalPort()
           
 String getRemoteHost()
           
 Integer getRemotePort()
           
 boolean isRunning()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectProxy

public DirectProxy(Integer localPort,
                   String remoteHost,
                   Integer remotePort)
Method Detail

stop

public void stop()
Specified by:
stop in interface Proxy

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Proxy

getLocalPort

public Integer getLocalPort()

getRemoteHost

public String getRemoteHost()

getRemotePort

public Integer getRemotePort()


Copyright © 2014. All rights reserved.