SHARE
TWEET

Proxy

a guest Aug 23rd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. public class ProxyService {
  3.     private String host;
  4.     private int port;
  5.    
  6.     public ProxyService() {}
  7.    
  8.     public ProxyService(String host , int port) {
  9.         this.host = host;
  10.         this.port = port;
  11.     }
  12.    
  13.     public void setHost(String host) {
  14.         this.host = host;
  15.     }
  16.     public void setPort(int port) {
  17.         this.port = port;
  18.     }
  19.    
  20.     public String getHost() {
  21.         return host;
  22.     }
  23.     public int getPort() {
  24.         return port;
  25.     }
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top