public class PluginImpl extends ClientImpl implements BasePlugin, Serializable
| Constructor and Description |
|---|
PluginImpl(String host)
PluginImpl
|
| Modifier and Type | Method and Description |
|---|---|
Object |
executePluginGet(String className,
Map<String,String> parameters,
Class<?> clazz)
Execute plugin get object.
|
InputStream |
executePluginGetReturnFile(String className,
Map<String,String> parameters)
Execute plugin get return file input stream.
|
Object |
executePluginPost(String className,
Map<String,String> parameters,
Class<?> clazz,
InputStream is)
Execute plugin post object.
|
InputStream |
executePluginPostReturnFile(String className,
Map<String,String> parameters,
InputStream is)
Execute plugin post return file input stream.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, resource, resource, resourcepublic PluginImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public Object executePluginPost(String className, Map<String,String> parameters, Class<?> clazz, InputStream is) throws UnknownException, WebserviceException
BasePluginexecutePluginPost in interface BasePluginclassName - the class nameparameters - the parametersclazz - the clazzis - the isUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic InputStream executePluginPostReturnFile(String className, Map<String,String> parameters, InputStream is) throws UnknownException, WebserviceException
BasePluginexecutePluginPostReturnFile in interface BasePluginclassName - the class nameparameters - the parametersis - the isUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Object executePluginGet(String className, Map<String,String> parameters, Class<?> clazz) throws UnknownException, WebserviceException, UnsupportedEncodingException
BasePluginexecutePluginGet in interface BasePluginclassName - the class nameparameters - the parametersclazz - the clazzUnknownException - the unknown exceptionWebserviceException - the webservice exceptionUnsupportedEncodingException - the unsupported encoding exceptionpublic InputStream executePluginGetReturnFile(String className, Map<String,String> parameters) throws UnknownException, WebserviceException, UnsupportedEncodingException
BasePluginexecutePluginGetReturnFile in interface BasePluginclassName - the class nameparameters - the parametersUnknownException - the unknown exceptionWebserviceException - the webservice exceptionUnsupportedEncodingException - the unsupported encoding exceptionCopyright © 2024 Open Knowledge Management System S.L.. All Rights Reserved.