Skip to content

Commit

Permalink
Updated Response Generator
Browse files Browse the repository at this point in the history
  • Loading branch information
d3ep4k committed Sep 9, 2019
1 parent 20954ff commit 3ee157b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/com/metamug/exec/ResponseGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@

/**
* This interface is designed as an adapter to generated response
*
* @author themetamug
*/
public interface ResponseGenerator {

/**
* This method allows developers to modify the outgoing response
*
* @param request Request Object generated from HTTP Request
* @param responses Map of responses by various processing elements
* @return
* @param outputMap Map of responses by various processing elements
* @return
*/
public Response generate(Request request, Map<String, Object> responses);
public Response generate(Request request, Map<String, Object> outputMap);
}

0 comments on commit 3ee157b

Please sign in to comment.