@Override public boolean content(ByteBuffer item, Request request, Response response, HTTPOutputStream output, HTTPConnection connection) { if (content != null) { return content.call(item, request, response, output, connection); } else { return false; } }
@Override public boolean content(ByteBuffer item, Request request, Response response, HTTPOutputStream output, HTTPConnection connection) { if (content != null) { return content.call(item, request, response, output, connection); } else { return false; } }
@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 5) { throw new RuntimeException("Func5 expecting 5 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4]); }
@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 5) { throw new RuntimeException("Func5 expecting 5 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4]); }
@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 5) { throw new RuntimeException("Func5 expecting 5 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4]); }