Class GetConnectorPlugins
java.lang.Object
org.sourcelab.kafka.connect.apiclient.request.get.GetConnectorPlugins
- All Implemented Interfaces:
GetRequest<Collection<ConnectorPlugin>>,Request<Collection<ConnectorPlugin>>
public final class GetConnectorPlugins
extends Object
implements GetRequest<Collection<ConnectorPlugin>>
Defines request to get a list of connector plugins.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the API end point to issue a request against.parseResponse(String responseStr) Parse the rest service's response into a concrete object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sourcelab.kafka.connect.apiclient.request.get.GetRequest
getRequestBody, getRequestMethod
-
Constructor Details
-
GetConnectorPlugins
public GetConnectorPlugins()
-
-
Method Details
-
getApiEndpoint
Description copied from interface:RequestThe name of the API end point to issue a request against. This is appended to the API Hostname.- Specified by:
getApiEndpointin interfaceRequest<Collection<ConnectorPlugin>>- Returns:
- The name of the end point this request uses.
-
parseResponse
Description copied from interface:RequestParse the rest service's response into a concrete object.- Specified by:
parseResponsein interfaceRequest<Collection<ConnectorPlugin>>- Parameters:
responseStr- The servers response in string format.- Returns:
- A concrete object representing the result.
- Throws:
IOException- on parsing errors.
-