public class TintopClient extends Object
Modifier and Type | Field and Description |
---|---|
static Integer |
DEFAULT_TIMEOUT |
protected TintopServer |
server |
Constructor and Description |
---|
TintopClient(String serverUrl) |
TintopClient(TintopServer server) |
TintopClient(TintopServer server,
Integer timeout) |
Modifier and Type | Method and Description |
---|---|
String |
call(String text) |
static void |
main(String[] args) |
void |
setFake(boolean fake) |
public static Integer DEFAULT_TIMEOUT
protected TintopServer server
public TintopClient(String serverUrl) throws MalformedURLException
MalformedURLException
public TintopClient(TintopServer server)
public TintopClient(TintopServer server, Integer timeout)
public void setFake(boolean fake)
public String call(String text) throws URISyntaxException, IOException
URISyntaxException
IOException
public static void main(String[] args)
Copyright © 2016–2020 FBK. All rights reserved.