Fixed startup and store in db.
This commit is contained in:
parent
73f201bdac
commit
b93f1d7ef1
15 changed files with 172 additions and 107 deletions
|
|
@ -11,8 +11,9 @@ public class OjwWireClient implements WireClient {
|
|||
|
||||
private final OjwWireClientHandler handler;
|
||||
|
||||
protected OjwWireClient(URI uri, Map<String, String> headers, int timeoutMs, WireClientHandler handler) {
|
||||
this.handler = new OjwWireClientHandler(uri, headers, timeoutMs, handler);
|
||||
protected OjwWireClient(URI uri, Map<String, String> headers, int timeoutMs, WireClientHandler wireHandler) {
|
||||
this.handler = new OjwWireClientHandler(uri, headers, timeoutMs, wireHandler);
|
||||
wireHandler.onStart();
|
||||
}
|
||||
|
||||
public OjwWireClientHandler getHandler() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue