All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.javaagent.instrumentation.vaadin.VaadinRpcRequest Maven / Gradle / Ivy

There is a newer version: 2.8.0-alpha
Show newest version
/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.javaagent.instrumentation.vaadin;

import com.google.auto.value.AutoValue;
import com.vaadin.flow.server.communication.rpc.RpcInvocationHandler;
import elemental.json.JsonObject;

@AutoValue
public abstract class VaadinRpcRequest {

  public static VaadinRpcRequest create(
      RpcInvocationHandler rpcInvocationHandler, String methodName, JsonObject jsonObject) {
    return new AutoValue_VaadinRpcRequest(rpcInvocationHandler, methodName, jsonObject);
  }

  abstract RpcInvocationHandler getRpcInvocationHandler();

  abstract String getMethodName();

  abstract JsonObject getJsonObject();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy