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

com.dingtalk.open.app.stream.protocol.ProtocolRequestFacade Maven / Gradle / Ivy

There is a newer version: 1.3.7
Show newest version
package com.dingtalk.open.app.stream.protocol;

/**
 * @author feiyin
 * @date 2023/4/7
 */
public interface ProtocolRequestFacade {
    /**
     * 获取messageId
     *
     * @return messageId
     */
    String getMessageId();

    /**
     * 获取传输类型
     *
     * @return contentType
     */
    String getContentType();

    /**
     * 获取topic
     *
     * @return topic
     */
    String getTopic();

    /**
     * 获取执行类型
     *
     * @return type
     */
    CommandType getType();

    /**
     * 获取数据
     *
     * @return data
     */
    String getData();

    /**
     * 获取名称
     *
     * @param headerName
     * @return header
     */
    String getHeader(String headerName);


    /**
     * 获取请求
     *
     * @return request
     */
    ProtocolRequest getRequest();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy