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 |
makeHttpPostRequestAndCreateCustomResponse(String uri,
String body,
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) |
void |
startContainer(String containerId) |
void |
stopContainer(String containerId) |
public DefaultRestControllerImpl(KieServerRegistry context)
protected <T> T makeHttpPutRequestAndCreateCustomResponse(String uri, String body, Class<T> resultType, String user, String password, String token)
protected <T> T makeHttpPostRequestAndCreateCustomResponse(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 KieServerControllerpublic void disconnect(org.kie.server.api.model.KieServerInfo serverInfo)
disconnect in interface KieServerControllerpublic void startContainer(String containerId)
public void stopContainer(String containerId)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.