RequestConfig.java 2.02 KB
/*
 *
 * Copyright (c) 2001-2019 泛微软件.
 * 泛微协同商务系统,版权所有.
 *
 */
package com.weaver.esb.spi;

import java.util.Map;

/**
 * <p>Title: ${file_name}</p>
 * <p>Description: </p>
 *
 * @author SJZ
 * @version 1.0
 * @date 2019/5/17
 */
public class RequestConfig {

    /**
     * 服务地址
     */
    private String serverUrl;

    /**
     * APP 标识
     */
    private String appKey;

    /**
     * 开启答名
     */
    private boolean sign;

    /**
     * 密钥
     */
    private String sercetKey;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 响应格式
     */
    private String format;

    /**
     * 加密方式
     */
    private String encryption;

    private Map<String,String> otherParams;

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl( String serverUrl ) {
        this.serverUrl = serverUrl;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey( String appKey ) {
        this.appKey = appKey;
    }

    public boolean isSign() {
        return sign;
    }

    public void setSign( boolean sign ) {
        this.sign = sign;
    }

    public String getSercetKey() {
        return sercetKey;
    }

    public void setSercetKey( String sercetKey ) {
        this.sercetKey = sercetKey;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName( String userName ) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword( String password ) {
        this.password = password;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat( String format ) {
        this.format = format;
    }

    public String getEncryption() {
        return encryption;
    }

    public void setEncryption( String encryption ) {
        this.encryption = encryption;
    }
}