Class TikaServerProcess

java.lang.Object
org.apache.tika.server.core.TikaServerProcess

public class TikaServerProcess extends Object
  • Field Details

    • BIND_EXCEPTION

      public static final int BIND_EXCEPTION
      See Also:
    • DO_NOT_RESTART_EXIT_VALUE

      public static int DO_NOT_RESTART_EXIT_VALUE
  • Constructor Details

    • TikaServerProcess

      public TikaServerProcess()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • spiResourceEnabled

      public static boolean spiResourceEnabled(Class<?> resourceClass, Set<String> enabledEndpoints)
      SPI resources honor the 'endpoints' allowlist too: a resource whose root path is one of the named endpoints binds only when that endpoint is enabled (XMPMetadataResource serves /meta, so omitting "meta" removes it as well). A custom root path loads unconditionally -- installing the jar is the opt-in.