org.kite9.tool.server
Class HttpItemServer
java.lang.Object
org.kite9.tool.server.HttpItemServer
- All Implemented Interfaces:
- ItemServer
public class HttpItemServer
- extends Object
- implements ItemServer
Connects to an ItemServer exposed using HTTP. Now supports HTTP proxies being
set manually, for maven / properties configuration
- Author:
- moffatr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOTE_SERVER_URL
public static final String REMOTE_SERVER_URL
- See Also:
- Constant Field Values
HttpItemServer
public HttpItemServer()
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
serve
public ZipInputStream serve(WorkItem item)
throws IOException
- Specified by:
serve in interface ItemServer
- Throws:
IOException
serve
public void serve(WorkItem item,
OutputStream os)
throws IOException
- Specified by:
serve in interface ItemServer
- Throws:
IOException
resetProxy
protected void resetProxy()
setupProxy
protected void setupProxy()
getProxyHost
public String getProxyHost()
setProxyHost
public void setProxyHost(String proxyHost)
getProxyPort
public int getProxyPort()
setProxyPort
public void setProxyPort(int proxyPort)
getProxyUser
public String getProxyUser()
setProxyUser
public void setProxyUser(String proxyUser)
getProxyPass
public String getProxyPass()
setProxyPass
public void setProxyPass(String proxyPass)
Copyright © 2011. All Rights Reserved.