Package org.apache.tika.server.core
Class TikaServerProcess
java.lang.Object
org.apache.tika.server.core.TikaServerProcess
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleanspiResourceEnabled(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).
-
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
- Throws:
Exception
-
spiResourceEnabled
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.
-