(final ResponseHandler handler)
| 171 | } |
| 172 | |
| 173 | public static MocoConfig<?> response(final ResponseHandler handler) { |
| 174 | return new MocoResponseConfig(checkNotNull(handler, "Response handler should not be null")); |
| 175 | } |
| 176 | |
| 177 | public static MocoConfig<?> response(final HttpHeader header) { |
| 178 | return response(with(checkNotNull(header, "Response handler should not be null"))); |