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
  • Constructor Details

    • AbstractCloseableConnectorResponse

      public AbstractCloseableConnectorResponse()
  • Method Details

    • close

      public void close()
      Implements the default close behavior
      Specified by:
      close in interface CloseableConnectorResponse
    • getClosable

      protected abstract Closeable getClosable()
      Allows subclasses to provide the closeable resource.
      Returns:
      the Closeable resource