You are here

protected function TikaServerExtractor::getServerUri in Search API attachments 9.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/search_api_attachments/TikaServerExtractor.php \Drupal\search_api_attachments\Plugin\search_api_attachments\TikaServerExtractor::getServerUri()

Returns the Tika server URI from the current config.

Return value

string The full Tika server URI.

1 call to TikaServerExtractor::getServerUri()
TikaServerExtractor::extract in src/Plugin/search_api_attachments/TikaServerExtractor.php
Extract file with a Tika JAX-RS Server.

File

src/Plugin/search_api_attachments/TikaServerExtractor.php, line 97

Class

TikaServerExtractor
Provides tika server extractor.

Namespace

Drupal\search_api_attachments\Plugin\search_api_attachments

Code

protected function getServerUri() {
  return $this->configuration['scheme'] . '://' . $this->configuration['host'] . ':' . $this->configuration['port'];
}