public class DefaultRestControllerImpl extends Object implements KieServerController
Constructor and Description |
---|
DefaultRestControllerImpl(KieServerRegistry context) |
Modifier and Type | Method and Description |
---|---|
KieServerSetup |
connect(org.kie.server.api.model.KieServerInfo serverInfo) |
void |
disconnect(org.kie.server.api.model.KieServerInfo serverInfo) |
protected <T> T |
makeHttpDeleteRequestAndCreateCustomResponse(String uri,
Class<T> resultType,
String user,
String password,
String token) |
protected <T> T |
makeHttpPutRequestAndCreateCustomResponse(String uri,
String body,
Class<T> resultType,
String user,
String password,
String token) |
protected String |
serialize(Object object) |
public DefaultRestControllerImpl(KieServerRegistry context)
protected <T> T makeHttpPutRequestAndCreateCustomResponse(String uri, String body, Class<T> resultType, String user, String password, String token)
protected <T> T makeHttpDeleteRequestAndCreateCustomResponse(String uri, Class<T> resultType, String user, String password, String token)
public KieServerSetup connect(org.kie.server.api.model.KieServerInfo serverInfo)
connect
in interface KieServerController
public void disconnect(org.kie.server.api.model.KieServerInfo serverInfo)
disconnect
in interface KieServerController
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.