A successful completion will have a single value:
r v
R
r
194195196197198199200201202203204
is = conn.getInputStream(); AbstractHessianInput in = _factory.getHessianInput(is); in.startReply(); Object value = in.readObject(method.getReturnType()); if (value instanceof InputStream) { value = new ResultInputStream(httpConn, is, in, (InputStream) value);
103104105106107108109110111112113
} catch (HessianProtocolException e) { throw e; } catch (Throwable e) { log.log(Level.WARNING, e.toString(), e); out.startReply(); out.writeFault("ServiceException", e.getMessage(), e); out.completeReply(); } out.flush();
4748495051525354555657
ByteArrayInputStream bais = null; HessianInput input = null; try { bais = new ByteArrayInputStream(in); input = new HessianInput(bais); input.startReply(); obj = input.readObject(); input.completeReply(); } catch (final IOException ex) { throw ex;