Class TesseractServerConfig
- java.lang.Object
- 
- org.apache.tika.server.standard.config.TesseractServerConfig
 
- 
- All Implemented Interfaces:
- ParseContextConfig
 
 public class TesseractServerConfig extends Object implements ParseContextConfig Tesseract configuration, for the request
- 
- 
Field SummaryFields Modifier and Type Field Description static StringX_TIKA_OCR_HEADER_PREFIXThe HTTP header prefix required (case-insensitive) by this config.
 - 
Constructor SummaryConstructors Constructor Description TesseractServerConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, Metadata metadata, ParseContext parseContext)Configures the parseContext with present headers.
 
- 
- 
- 
Field Detail- 
X_TIKA_OCR_HEADER_PREFIXpublic static final String X_TIKA_OCR_HEADER_PREFIX The HTTP header prefix required (case-insensitive) by this config.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
configurepublic void configure(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, Metadata metadata, ParseContext parseContext) Configures the parseContext with present headers. Note: only first value of header is considered.- Specified by:
- configurein interface- ParseContextConfig
- Parameters:
- httpHeaders- the headers.
- metadata- the metadata.
- parseContext- the parse context to configure.
 
 
- 
 
-