All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fax4j.bridge.http.HTTP2FaxBridge Maven / Gradle / Ivy

package org.fax4j.bridge.http;

import org.fax4j.bridge.AbstractContextFaxBridge;
import org.fax4j.spi.http.HTTPRequest;

/**
 * This is the HTTP web2fax based implementation of the fax bridge.
 * 
* Below table describes the configuration values relevant for this class.
* Configuration: * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionPreconfigured ValueDefault ValueMandatory
org.fax4j.bridge.vendor.policy.class.nameThe vendor policy class name.org.fax4j.bridge.EmptyVendorPolicyorg.fax4j.bridge.EmptyVendorPolicyfalse
org.fax4j.bridge.http.request.parser.class.nameThe HTTP request parser class name used to convert the HTTP request to fax job data.org.fax4j.bridge.http.MultiPartHTTPRequestParserorg.fax4j.bridge.http.MultiPartHTTPRequestParserfalse
* * @author Sagie Gur-Ari * @version 1.04 * @since 0.40.6 */ public class HTTP2FaxBridge extends AbstractContextFaxBridge { /**The HTTP request parser class name*/ public static final String HTTP_REQUEST_PARSER_CLASS_NAME_PROPERTY_KEY="org.fax4j.bridge.http.request.parser.class.name"; /** * This is the class constructor. */ public HTTP2FaxBridge() { super(); } /** * This function returns the key used to fetch the request parser * class name from the fax4j.properties. * * @return The request parser class name configuration key */ @Override protected String getRequestParserConfigurationKey() { return HTTP2FaxBridge.HTTP_REQUEST_PARSER_CLASS_NAME_PROPERTY_KEY; } /** * This function returns the default request parser class name. * * @return The default request parser class name */ @Override protected String getDefaultParserClassName() { return MultiPartHTTPRequestParser.class.getName(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy