spring-framework / org.springframework.web.servlet.mvc.method / RequestMappingInfo / <init>

<init>

RequestMappingInfo(@Nullable name: String, @Nullable patterns: PatternsRequestCondition, @Nullable methods: RequestMethodsRequestCondition, @Nullable params: ParamsRequestCondition, @Nullable headers: HeadersRequestCondition, @Nullable consumes: ConsumesRequestCondition, @Nullable produces: ProducesRequestCondition, @Nullable custom: RequestCondition<*>) RequestMappingInfo(@Nullable patterns: PatternsRequestCondition, @Nullable methods: RequestMethodsRequestCondition, @Nullable params: ParamsRequestCondition, @Nullable headers: HeadersRequestCondition, @Nullable consumes: ConsumesRequestCondition, @Nullable produces: ProducesRequestCondition, @Nullable custom: RequestCondition<*>)

Creates a new instance with the given request conditions.

RequestMappingInfo(info: RequestMappingInfo, @Nullable customRequestCondition: RequestCondition<*>)

Re-create a RequestMappingInfo with the given custom request condition.