jetty-9 - Added toString().

This commit is contained in:
Simone Bordet 2012-09-17 16:27:59 +02:00
parent bc35807525
commit 84f40e8519
1 changed files with 10 additions and 0 deletions

View File

@ -99,4 +99,14 @@ public class Result
{
return responseFailure != null ? responseFailure : requestFailure;
}
@Override
public String toString()
{
return String.format("%s[%s > %s] %s",
Result.class.getSimpleName(),
request,
response,
getFailure());
}
}