Package net.rfc3507.client
Class ICAPClient
- java.lang.Object
-
- net.rfc3507.client.ICAPClient
-
public class ICAPClient extends Object
-
-
Constructor Summary
Constructors Constructor Description ICAPClient(String host, int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ICAPResponseexecute(ICAPRequest request)intgetConnectTimeout()StringgetICAPHost()intgetICAPPort()static StringgetICAPVersion()intgetReadTimeout()ICAPResponseoptions(String icapService)voidsetConnectTimeout(int connect_timeout)voidsetReadTimeout(int read_timeout)
-
-
-
Constructor Detail
-
ICAPClient
public ICAPClient(String host, int port)
-
-
Method Detail
-
getICAPHost
public String getICAPHost()
-
getICAPPort
public int getICAPPort()
-
getICAPVersion
public static String getICAPVersion()
-
options
public ICAPResponse options(String icapService) throws ICAPException
- Throws:
ICAPException
-
getConnectTimeout
public int getConnectTimeout()
-
setConnectTimeout
public void setConnectTimeout(int connect_timeout)
-
getReadTimeout
public int getReadTimeout()
-
setReadTimeout
public void setReadTimeout(int read_timeout)
-
execute
public ICAPResponse execute(ICAPRequest request) throws ICAPException
- Throws:
ICAPException
-
-