public class TesseractServerConfig extends Object implements ParseContextConfig
Modifier and Type | Field and Description |
---|---|
static String |
X_TIKA_OCR_HEADER_PREFIX
The HTTP header prefix required (case-insensitive) by this config.
|
Constructor and Description |
---|
TesseractServerConfig() |
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
Metadata metadata,
ParseContext parseContext)
Configures the parseContext with present headers.
|
public static final String X_TIKA_OCR_HEADER_PREFIX
public void configure(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, Metadata metadata, ParseContext parseContext)
configure
in interface ParseContextConfig
httpHeaders
- the headers.metadata
- the metadata.parseContext
- the parse context to configure.Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.