Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
creating a wrapper method for executeClientCall
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Kerwin committed Dec 10, 2017
1 parent 8d41349 commit 1abee65
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>hub-common-rest</artifactId>
<version>3.1.1-SNAPSHOT</version>
<version>3.2.0</version>

<name>Hub Common Rest</name>
<description>General Code for Rest Connections to the Hub</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,14 @@ private Request createNewRequest(final Request request) {
return builder.build();
}

public Response createResponse(final Request request) throws IntegrationException {
return handleExecuteClientCall(request);
}

@Deprecated
/**
* @deprecated Please use createResponse(Request request) instead.
*/
public Response handleExecuteClientCall(final Request request) throws IntegrationException {
final long start = System.currentTimeMillis();
logMessage(LogLevel.TRACE, "starting request: " + request.url());
Expand Down

0 comments on commit 1abee65

Please sign in to comment.