Package org.camunda.connect.impl
Class AbstractCloseableConnectorResponse
java.lang.Object
org.camunda.connect.impl.AbstractConnectorResponse
org.camunda.connect.impl.AbstractCloseableConnectorResponse
- All Implemented Interfaces:
CloseableConnectorResponse
,ConnectorResponse
- Direct Known Subclasses:
HttpResponseImpl
public abstract class AbstractCloseableConnectorResponse
extends AbstractConnectorResponse
implements CloseableConnectorResponse
This class is a base class for implementing closeable connector responses
based on
Closeable
.- Author:
- Daniel Meyer
-
Field Summary
Fields inherited from class org.camunda.connect.impl.AbstractConnectorResponse
responseParameters
-
Constructor Summary
-
Method Summary
Methods inherited from class org.camunda.connect.impl.AbstractConnectorResponse
collectResponseParameters, getResponseParameter, getResponseParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.connect.spi.ConnectorResponse
getResponseParameter, getResponseParameters
-
Constructor Details
-
AbstractCloseableConnectorResponse
public AbstractCloseableConnectorResponse()
-
-
Method Details
-
close
public void close()Implements the default close behavior- Specified by:
close
in interfaceCloseableConnectorResponse
-
getClosable
Allows subclasses to provide the closeable resource.- Returns:
- the
Closeable
resource
-