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

com.feingto.cloud.dto.gateway.ApiRouteDTO Maven / Gradle / Ivy

There is a newer version: 2.3.8.RELEASE
Show newest version
package com.feingto.cloud.dto.gateway;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.http.HttpMethod;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * API 路由信息
 *
 * @author longfei
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiRouteDTO implements Serializable {
    private static final long serialVersionUID = 5896435952084505645L;

    /**
     * 请求方式
     */
    private HttpMethod httpMethod;

    /**
     * 路由地址
     */
    private String url;

    /**
     * 路由参数
     */
    private List routeParams = new ArrayList<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy