Class PluginWebProvider
- java.lang.Object
-
- org.teichert.databaseexplorer.messages.web.AbstractWebProvider
-
- org.teichert.databaseexplorer.messages.web.impl.PluginWebProvider
-
public class PluginWebProvider extends AbstractWebProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teichert.databaseexplorer.messages.web.AbstractWebProvider
AbstractWebProvider.MethodTypes
-
-
Constructor Summary
Constructors Constructor Description PluginWebProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PluginInfo>
getAllPlugins(WebDetails webDetails)
Required fields in the webDetails are:
WebDetails.getResourceServerUri()
List<Marketplace>
getMarketplace(WebDetails webDetails)
byte[]
getPlugin(WebDetails webDetails, String pluginName)
Required fields in the webDetails are:
WebDetails.getResourceServerUri()
-
Methods inherited from class org.teichert.databaseexplorer.messages.web.AbstractWebProvider
createWebDetails, executeProtectedMethod, executeProtectedMethod, executeProtectedMethod, getAccessToken, getAccessToken, getAccessToken, getAuthorizationHeaderForAccessToken, getBasicAuthorizationHeader, getClientConfigProps, getProtectedResource, getProtectedResource, handleJsonResponse, handleResponse, handleURLEncodedResponse, handleXMLResponse, parseXMLDoc
-
-
-
-
Method Detail
-
getAllPlugins
public List<PluginInfo> getAllPlugins(WebDetails webDetails) throws WebException
Required fields in the webDetails are:
WebDetails.getResourceServerUri()
- Parameters:
webDetails
- = holds the request/response informations (can not be null)- Returns:
- Throws:
WebException
-
getPlugin
public byte[] getPlugin(WebDetails webDetails, String pluginName) throws WebException, UnsupportedEncodingException
Required fields in the webDetails are:
WebDetails.getResourceServerUri()
- Parameters:
webDetails
- = holds the request/response informations (can not be null)- Returns:
- Throws:
WebException
UnsupportedEncodingException
-
getMarketplace
public List<Marketplace> getMarketplace(WebDetails webDetails) throws WebException
- Throws:
WebException
-
-