@Override public void run() { int i = this.inputs.length; while (--i >= 0) { process(inputs[i], outputs[i]); } }
boolean allWritten = payload(outputStream, graphManager, paramStream, (HTTPVerbDefaults)httpSpec.verbs[fieldVerb]); //should return error and take args? if (!allWritten) { throw new UnsupportedOperationException("Not yet implemented support for chunks"); HTTPUtilResponse.closePayloadAndPublish(ebh, eTag(), contentType(), output, activeChannelId, activeSequenceNo, activeFieldRequestContext, outputStream, additionalHeaderWriter, 200); break; case -1: requestShutdown(); break;
HTTPSpecification<T, R, V, H> httpSpec, Pipe<?>[] otherInputs, int payloadSizeBytes) { super(graphManager, join(inputs,otherInputs), outputs); this.graphManager = graphManager; this.messageFragmentsRequired = (payloadSizeBytes/minVarLength(outputs))+1;//+1 for header int i = outputs.length; while (--i >= outputs.length) {
this.graphManager = graphManager; this.messageFragmentsRequired = (payloadSizeBytes/minVarLength(outputs))+2;//+2 for header and round up. int i = outputs.length; while (--i >= outputs.length) {