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 ICAPResponse
execute(ICAPRequest request)
int
getConnectTimeout()
String
getICAPHost()
int
getICAPPort()
static String
getICAPVersion()
int
getReadTimeout()
ICAPResponse
options(String icapService)
void
setConnectTimeout(int connect_timeout)
void
setReadTimeout(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
-
-