com.github.xiaoymin.swaggerbootstrapui.model.RestHandlerMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-bootstrap-ui Show documentation
Show all versions of swagger-bootstrap-ui Show documentation
Swagger-Bootstrap-UI is the front of the UI Swagger implementation, using jQuery+bootstrap implementation, the purpose is to replace the default UI Swagger implementation of the Swagger-UI, so that the document is more friendly...
The 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() {
}
}