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

com.github.netty.protocol.dubbo.packet.BodyRequest Maven / Gradle / Ivy

package com.github.netty.protocol.dubbo.packet;

import com.github.netty.protocol.dubbo.Body;

import java.util.Map;

public class BodyRequest extends Body {
    private final String dubboVersion;
    private final String path;
    private final String version;
    private final String methodName;
    private final String parameterTypesDesc;
    private final Object[] parameterValues;
    private final Map attachments;

    public BodyRequest(String dubboVersion, String path, String version,
                       String methodName, String parameterTypesDesc,
                       Map attachments,
                       Object[] parameterValues) {
        this.dubboVersion = dubboVersion;
        this.path = path;
        this.version = version;
        this.methodName = methodName;
        this.parameterTypesDesc = parameterTypesDesc;
        this.attachments = attachments;
        this.parameterValues = parameterValues;
    }

    public String getDubboVersion() {
        return dubboVersion;
    }

    public String getPath() {
        return path;
    }

    public String getVersion() {
        return version;
    }

    public String getMethodName() {
        return methodName;
    }

    public String getParameterTypesDesc() {
        return parameterTypesDesc;
    }

    public Object[] getParameterValues() {
        return parameterValues;
    }

    public Map getAttachments() {
        return attachments;
    }

    @Override
    public String toString() {
        return "BodyRequest{" +
                "\n\tpath='" + path + '\'' +
                ",\n\tmethodName='" + methodName + '\'' +
                ",\n\tattachments=" + attachments +
                "\n}";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy