• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TAKETODAY / today-infrastructure
85%

Build:
DEFAULT BRANCH: master
Repo Added 09 Oct 2022 03:54PM UTC
Files 4708
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 4.x
  • dev/bytecode-version
  • dev/databuffer-message
  • dev/entity-manager
  • dev/extractor
  • dev/http2
  • dev/java24
  • dev/jspecify
  • dev/main
  • dev/modular
  • dev/multipart-api
  • dev/netty-usage
  • dev/refactor
  • dev/web
  • dev/webmvc

21 Feb 2026 02:54PM UTC coverage: 84.594% (-0.001%) from 84.595%
22258867044

push

github

TAKETODAY
:bug: Fix InvalidMimeTypeException for compatible media types

The `AbstractMessageConverterMethodProcessor` is in charge of handling
controller method return values and to write those as HTTP response
messages. The content negotiation process is an important part.

The `MimeTypeUtils#sortBySpecificity` is in charge of sorting inbound
"Accept" media types by their specificity and reject them if the list
is too large, in order to protect the application from ddos attacks.

Prior to this commit, the content negotiation process would first get
the sorted "Accept" media types, the producible media types as
advertized by message converters - and collect the intersection of both
in a new list (also sorted by specificity). If the "Accept" list is
large enough (but under the limit), the list of compatible media types
could exceed that limit because duplicates could be introduced in that
list: several converters can produce the same content type.

This commit ensures that compatible media types are collected in a set
to avoid duplicates. Without that, exceeding the limit at this point
will throw an `InvalidMimeTypeException` that's not handled by the
processor and result in a server error.

62867 of 79491 branches covered (79.09%)

Branch coverage included in aggregate %.

149375 of 171404 relevant lines covered (87.15%)

3.72 hits per line

Relevant lines Covered
Build:
Build:
171404 RELEVANT LINES 149375 COVERED LINES
3.72 HITS PER LINE
Source Files on master
  • Tree
  • List 4708
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22258867044 master :bug: Fix InvalidMimeTypeException for compatible media types The `AbstractMessageConverterMethodProcessor` is in charge of handling controller method return values and to write those as HTTP response messages. The content negotiation process is ... push 21 Feb 2026 03:08PM UTC TAKETODAY github
84.59
22228393353 master :white_check_mark: push 20 Feb 2026 03:00PM UTC TAKETODAY github
84.59
22188525274 master :recycle: Consistently support @⁠Autowired as a meta-annotation Prior to this commit, the findAutowiredAnnotation() method in AutowiredAnnotationBeanPostProcessor fully supported finding @⁠Autowired as a meta-annotation; however, the isRequired()... push 19 Feb 2026 03:55PM UTC TAKETODAY github
84.6
22104012306 master :zap: Cache method annotations in MethodParameter push 18 Feb 2026 01:41AM UTC TAKETODAY github
84.6
21891709575 master :sparkles: NettyRequestConfigCustomizer 支持 外部修改 NettyRequestConfig 支持将配置简单化,原先的设计需要构建整个对象 push 11 Feb 2026 03:41AM UTC TAKETODAY github
84.59
21673027154 master :art: 添加 groovy 模板模块代码覆盖率聚合 - 在 jacoco 聚合配置中加入 infra-groovy-templates 模块 - 确保 groovy 模板模块的测试覆盖率被统计到整体报告中 push 04 Feb 2026 02:02PM UTC TAKETODAY github
84.59
21670319299 master :sparkles: 添加Groovy模板集成支持 - 新增Groovy模板自动配置功能 - 实现GroovyMarkupViewResolver视图解析器 - 集成MarkupTemplateEngine模板引擎 - 添加Groovy模板属性配置支持 - 实现模板可用性检查机制 - 配置默认资源加载路径和文件后缀 - 添加缓存、转义、缩进等模板选项 - 提供测试用例验证各项功能 - 优化模板渲染性能和兼容性 push 04 Feb 2026 11:51AM UTC TAKETODAY github
84.58
21634028022 master :art: 优化 TodayStrategies 服务加载逻辑 - 提取ServiceLoader加载逻辑到独立的loadServiceProviders方法中 - 添加ServiceConfigurationError异常处理机制 - 为loadServiceProviders方法添加详细的JavaDoc文档 push 03 Feb 2026 02:41PM UTC TAKETODAY github
84.58
21622301615 master :memo: push 03 Feb 2026 08:13AM UTC TAKETODAY github
84.58
21615911393 master :sparkles: 添加健康检查组件的详细功能 - 修复代码示例的HTML标签格式问题 - 添加私有构造函数以支持直接创建Health实例 - 将withoutDetails方法改为公共方法并优化实现逻辑 - 新增withDetails方法用于创建包含指定详情的新Health实例 - 新增toBuilder方法用于从现有实例创建构建器 - 为新增方法添加完整的JavaDoc文档 - 补充单元测试验证新功能的正确性 push 03 Feb 2026 03:39AM UTC TAKETODAY github
84.58
See All Builds (1034)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc