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

com.github.xiaoymin.swaggerbootstrapui.model.RestHandlerMapping Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
/*
 * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.xiaominfo.com.
 * Developer Web Site: http://open.xiaominfo.com.
 */

package com.github.xiaoymin.swaggerbootstrapui.model;

import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.reflect.Method;
import java.util.Set;

/***
 *
 * @since:swagger-bootstrap-ui 1.8.7
 * @author [email protected] 
 * 2018/11/10 20:48
 */
public class RestHandlerMapping {

    private String url;

    private Class beanType;

    private Method beanOfMethod;

    private Set requestMethods;

    public Set getRequestMethods() {
        return requestMethods;
    }

    public void setRequestMethods(Set requestMethods) {
        this.requestMethods = requestMethods;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Class getBeanType() {
        return beanType;
    }

    public void setBeanType(Class beanType) {
        this.beanType = beanType;
    }

    public Method getBeanOfMethod() {
        return beanOfMethod;
    }

    public void setBeanOfMethod(Method beanOfMethod) {
        this.beanOfMethod = beanOfMethod;
    }

    public RestHandlerMapping(String url, Class beanType, Method beanOfMethod,Set requestMethods) {
        this.url = url;
        this.beanType = beanType;
        this.beanOfMethod = beanOfMethod;
        this.requestMethods=requestMethods;
    }

    public RestHandlerMapping() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy