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
public abstract class AbstractCloseableConnectorResponse extends AbstractConnectorResponse implements CloseableConnectorResponse
This class is a base class for implementing closeable connector responses based onCloseable.- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.connect.impl.AbstractConnectorResponse
responseParameters
-
-
Constructor Summary
Constructors Constructor Description AbstractCloseableConnectorResponse()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()Implements the default close behaviorprotected abstract java.io.CloseablegetClosable()Allows subclasses to provide the closeable resource.-
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
-
-
-
-
Method Detail
-
close
public void close()
Implements the default close behavior- Specified by:
closein interfaceCloseableConnectorResponse
-
getClosable
protected abstract java.io.Closeable getClosable()
Allows subclasses to provide the closeable resource.- Returns:
- the
Closeableresource
-
-