(final ResponseElement element)
| 311 | } |
| 312 | |
| 313 | public static ResponseHandler with(final ResponseElement element) { |
| 314 | return responseHandler(checkNotNull(element, "Response element should not be null")); |
| 315 | } |
| 316 | |
| 317 | public static ResponseHandler with(final String text) { |
| 318 | return with(text(checkNotNullOrEmpty(text, "Text should not be null"))); |