Class PDFServerConfig
- java.lang.Object
 - 
- org.apache.tika.server.standard.config.PDFServerConfig
 
 
- 
- All Implemented Interfaces:
 ParseContextConfig
public class PDFServerConfig extends Object implements ParseContextConfig
PDF parser configuration, for the request 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringX_TIKA_PDF_HEADER_PREFIXThe HTTP header prefix required (case-insensitive) by this config. 
- 
Constructor Summary
Constructors Constructor Description PDFServerConfig() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, Metadata metadata, ParseContext parseContext)Configures the parseContext with present headers. 
 - 
 
- 
- 
Field Detail
- 
X_TIKA_PDF_HEADER_PREFIX
public static final String X_TIKA_PDF_HEADER_PREFIX
The HTTP header prefix required (case-insensitive) by this config.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
configure
public void configure(jakarta.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 interfaceParseContextConfig- Parameters:
 httpHeaders- the headers.metadata- the metadata.parseContext- the parse context to configure.
 
 - 
 
 -