public class SimpleHTTPRequestParser extends AbstractRequestParser<HTTPRequest> implements HTTPRequestParser
Constructor and Description |
---|
SimpleHTTPRequestParser()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
convertParametersTextToMap(HTTPRequest request)
This function converts the provided query string to a map object.
|
protected FileInfo |
getFileInfoFromInputDataImpl(HTTPRequest inputData)
This function returns the file info from the request data.
|
protected FileInfo |
getFileInfoFromRequestImpl(HTTPRequest request,
Map<String,String> queryStringMap)
This function returns the file info from the request data.
|
protected void |
initializeImpl(Map<String,String> configuration)
This function initializes the component.
|
protected void |
updateFaxJobFromInputDataImpl(HTTPRequest inputData,
FaxJob faxJob)
This function update the fax job from the request data.
This fax job will not have any file data. |
protected void |
updateFaxJobFromRequestImpl(HTTPRequest request,
FaxJob faxJob,
Map<String,String> queryStringMap)
This function update the fax job from the request data.
This fax job will not have any file data. |
getFileInfoFromInputData, initialize, updateFaxJobFromInputData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileInfoFromInputData, updateFaxJobFromInputData
initialize
public SimpleHTTPRequestParser()
protected void initializeImpl(Map<String,String> configuration)
initializeImpl
in class AbstractRequestParser<HTTPRequest>
configuration
- The component configurationprotected FileInfo getFileInfoFromInputDataImpl(HTTPRequest inputData)
getFileInfoFromInputDataImpl
in class AbstractRequestParser<HTTPRequest>
inputData
- The input dataprotected void updateFaxJobFromInputDataImpl(HTTPRequest inputData, FaxJob faxJob)
updateFaxJobFromInputDataImpl
in class AbstractRequestParser<HTTPRequest>
inputData
- The input datafaxJob
- The fax job to updateprotected Map<String,String> convertParametersTextToMap(HTTPRequest request)
request
- The HTTP requestprotected FileInfo getFileInfoFromRequestImpl(HTTPRequest request, Map<String,String> queryStringMap)
request
- The HTTP requestqueryStringMap
- The query string as key/value mapprotected void updateFaxJobFromRequestImpl(HTTPRequest request, FaxJob faxJob, Map<String,String> queryStringMap)
request
- The HTTP requestqueryStringMap
- The query string as key/value mapfaxJob
- The fax job to updateCopyright © 2009–2020 fax4j. All rights reserved.