Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Copyright 2015-2024 Nstream, inc.
//
// Licensed under the Redis Source Available License 2.0 (RSALv2) Agreement;
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://redis.com/legal/rsalv2-agreement/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package nstream.adapter.common.amenity;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import swim.api.Lane;
import swim.api.agent.AbstractAgent;
import swim.api.agent.Agent;
import swim.api.lane.MapLane;
import swim.api.lane.ValueLane;
import swim.codec.Decoder;
import swim.codec.Utf8;
import swim.http.HttpHeader;
import swim.http.HttpMethod;
import swim.http.HttpRequest;
import swim.http.HttpResponse;
import swim.http.HttpStatus;
import swim.http.MediaRange;
import swim.http.MediaType;
import swim.http.header.AcceptHeader;
import swim.json.Json;
import swim.recon.Recon;
import swim.structure.Form;
import swim.structure.Record;
import swim.structure.Value;
import swim.system.LaneBinding;
import swim.system.agent.AgentView;
import swim.uri.Uri;
public class SummaryAmenity {
public static final String SUMMARY_LANE_URI = "api/laneSummary";
private final AbstractAgent runtime;
public SummaryAmenity(AbstractAgent runtime) {
this.runtime = runtime;
}
@SuppressWarnings("unchecked")
public Decoder