func (this *httpRequest) Execute(srvr *server.Server, signature value.Value, stopNotify chan bool) { defer this.Stop(server.COMPLETED) this.NotifyStop(stopNotify) this.httpRespCode = http.StatusOK _ = this.writePrefix(srvr, signature) && this.writeResults() this.writeSuffix(srvr.Metrics(), "") this.writer.noMoreData() }
func (this *httpRequest) Failed(srvr *server.Server) { this.writeString("{\n") this.writeRequestID() this.writeClientContextID() this.writeErrors() this.writeWarnings() this.writeState("") this.writeMetrics(srvr.Metrics()) this.writeString("\n}\n") this.writer.noMoreData() }