jetty-9 - Added toString().
This commit is contained in:
parent
bc35807525
commit
84f40e8519
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue