Skip to content

Commit

Permalink
response refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
patriot1burke committed Aug 2, 2012
1 parent 9c57ee7 commit 98f00b2
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -264,7 +264,8 @@ public Response invoke() throws ClientException
filter.filter(requestContext);
if (requestContext.getAbortedWithResponse() != null)
{
new AbortedResponse(configuration, requestContext.getAbortedWithResponse());
if (requestContext.getAbortedWithResponse() instanceof ClientResponse) return requestContext.getAbortedWithResponse();
else return new AbortedResponse(configuration, requestContext.getAbortedWithResponse());
}
}
catch (IOException e)
Expand Down

0 comments on commit 98f00b2

Please sign in to comment.