org.simple4j.wsclient.formatter.IFormatter Maven / Gradle / Ivy
/**
* Contains request side formatting of data to request components
*/
package org.simple4j.wsclient.formatter;
/**
* The IFormatter interface is used on the request side to format data to
* request components (URL, headers, body) based on the template configuration.
*
* @author jsrinivas108
*/
public interface IFormatter
{
/**
* This method uses some templating mechanism to format the inputObject to a
* String
*
* @param inputObject
* - any imput object from the client that needs to be formatted to
* return String
* @return - formatted value from inputObject as String
* @throws Exception - any exception specific to each implementation
*/
public String formatData(Object inputObject) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy