V2EX monstervivi
 monstervivi's recent timeline updates
monstervivi's repos on GitHub
Lua 9 watchers
dotfiles
My configuration files.
Java 3 watchers
Spring-Boot
Spring Boot Practice
2 watchers
my-notes
技术随想
1 watchers
docker-learning
About Docker Learning
Java 1 watchers
hxw-spring-security-rbac
spring boot-spring security-rbac-demo
1 watchers
JVM-Learning
About JVM Learning
C 1 watchers
Sorting-Algorithm-Practice
Sorting Algorithms Practice
0 watchers
ACL4SSR
SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址
Shell 0 watchers
add-numbers-in-string
Java basic practice for beginners: Add numbers in string
Java 0 watchers
advanced-git
0 watchers
arch-rpc
Shell 0 watchers
basic-calculation
Java basic practice for beginners: calculation
0 watchers
Best-websites-a-programmer-should-visit-zh
程序员应该访问的最佳网站中文版
Java 0 watchers
bit-operation-setter-getter
Java basic practice for beginners: calculation
HTML 0 watchers
blog-hugo
A Personal Blog
0 watchers
bootsecuritybasic
Spring Security安全认证系列课程源码
Java 0 watchers
calculate-root-of-quadratic-equation
Java basic practice for beginners: calculation
0 watchers
cch
My yet another Vim setttings
Java 0 watchers
coding-interviews-java
剑指 Offer Java 实现
Java 0 watchers
count-upper-case-letter
Java basic practice for beginners: control flow
0 watchers
crawler
爬虫脚本,目前支持抓取懂车帝车品牌、车型,汽车图片等; 简书30热搜、简书刷评论;拉勾教育专栏文章;mm131性感图片;影视资源站视频抓取。
Shell 0 watchers
create-a-instance-method
Java basic practice for beginners.
Shell 0 watchers
create-a-psvm-method
Java basic practice for beginners.
Shell 0 watchers
create-a-psvm-method-and-print
Java basic practice for beginners.
Shell 0 watchers
create-an-empty-class
Java basic practice for beginners.
Shell 0 watchers
create-an-empty-class-in-package
Java basic practice for beginners.
Shell 0 watchers
create-constructor-and-initialize-fields
Java basic practice for beginners.
Shell 0 watchers
create-overload-constructors
Java basic practice for beginners.
Shell 0 watchers
create-same-classes-n-different-package
Java basic practice for beginners.
Shell 0 watchers
create-two-classes-in-different-package
Java basic practice for beginners.
Java 0 watchers
create-two-instances-instead-of-assignment
Java basic practice for beginners: Object/reference
C 0 watchers
Data-Structures-And-Algorithms-Practice
Learn data structures and algorithms
Java 0 watchers
data-type-casts
Java basic practice for beginners: data type
Java 0 watchers
declare-numbers-of-primitive-types
Java basic practice for beginners: data type
Java 0 watchers
deep-copy
Java basic practice for beginners: Object/reference.
Javascript 0 watchers
deeplx-pro
Java 0 watchers
design-pattern-learning
Java 0 watchers
diagonal-sum
Java basic practice for beginners: control flow
0 watchers
docker-easyconnect
使深信服(Sangfor)开发的非自由的代理软件 EasyConnect 运行在 docker 中,并提供 socks5 服务
0 watchers
edu_lagou
拉勾教育 vip 插件
Shell 0 watchers
fix-add-function
Java 0 watchers
fix-boolean-return-value-npe
Java basic practice for beginners: Fix NPE in return value
Shell 0 watchers
fix-bug-in-integer-equals
Java basic practice for beginners: Fix bug in Integer equals
Shell 0 watchers
fix-divide-bug
Java basic practice for beginners: data type
Shell 0 watchers
fix-int-overflow
Java basic practice for beginners: data type
Shell 0 watchers
fix-method-passing-reference
Java basic practice for beginners: Object/reference
Shell 0 watchers
fix-npe-in-compare-integers
Java basic practice for beginners: Fix NPE in comparing integers
Shell 0 watchers
fix-self-increment-bug
Java basic practice for beginners: calculation
Java 0 watchers
fix-simple-npe-of-uninitialized-field
Java basic practice for beginners.
Java 0 watchers
fix-simple-scope-issue
Java basic practice for beginners: local variable/scope.
Java 0 watchers
flash-netty-practice
Java 0 watchers
format-student-score
Java basic practice for beginners: calculation
Java 0 watchers
geek-netty-practice
Java 0 watchers
geektime-java-concurrency-in-practice
极客时间 - Java 并发编程实战
0 watchers
geektime-zero
Demo repository for geektime column
0 watchers
Goddess-Questionnaire
本文介绍了一个B/S结构下微信小程序的在线问卷调查系统,其后台可在主流浏览器上进行操作,前台采用微信小程序。它使用集成框架Spring+Sring MVC+MyBatis,存储数据库选用关系型数据库MySql,缓存数据库采用非关系型数据库Redis,服务器选用Apache Tomcat和Nginx相结合的方式。它的代码部分主要开发工具为IntelliJ IDEA和微信开发者工具。以图表的方式实现对问卷结果的数据分析。代码部分实现了前端问卷调查系统和后端管理系统的分离。采用Redis数据库做高速缓存提高访问效率。利用FFmpeg将MP4视频转为m3u8格式实现在线播放视频。
Java 0 watchers
hexadecimal-character
Java basic practice for beginners: calculation
0 watchers
homebrew-cask
A CLI workflow for the administration of macOS applications distributed as binaries
0 watchers
homebrew-tap
Java 0 watchers
how-many-days-in-month
Java basic practice for beginners: control flow
Java 0 watchers
how-many-prime-numbers
Java basic practice for beginners: control flow
Shell 0 watchers
implement-correct-double-equals
Java basic practice for beginners: Implement correct double equals
Shell 0 watchers
import-a-class-from-3rd-party
Java basic practice for beginners.
Shell 0 watchers
instantiate-class-and-access-member-variable
Java basic practice for beginners.
Shell 0 watchers
instantiate-class-with-new
Java basic practice for beginners.
Java 0 watchers
instantiate-two-instances-of-same-class
Java basic practice for beginners.
0 watchers
irpc-framework
The practice of the Jue Jin Java Developer's RPC Practical course
Java 0 watchers
is-leap-year
Java basic practice for beginners: control flow
Java 0 watchers
java-basis-practice
Learn and Practice Java Basis
Java 0 watchers
java-common-mistakes-practice
极客时间专栏《Java业务开发常见错误100例》的练习
Java 0 watchers
Java-unit-testing
practice
0 watchers
kickstart.nvim
A launch point for your personal nvim configuration
Java 0 watchers
leetcode-java-practice
LeetCode of algorithms with java solution
0 watchers
logRecord
使用注解优雅的记录系统日志,操作日志等,支持SpEL表达式,自定义上下文,自定义函数。并支持通过数据管道传递至消息队列。
Java 0 watchers
loop-factorial
Java basic practice for beginners: control flow
Shell 0 watchers
maven-issue-reproduction
0 watchers
microservice_arch_springcloud
基于SpringCloud实现的微服务架构示例工程。《软件架构探索》的配套组件。
Java 0 watchers
monolithic_arch_springboot
基于SpringBoot的单体多层架构示例工程。《软件架构探索》的配套组件。
HTML 0 watchers
monsterhxw.github.io
https://monsterhxw.github.io/
Java 0 watchers
multiply-divide-with-bit-operation
Java basic practice for beginners: calculation
0 watchers
multithread-exception
Java advanced practice: multi-thread
Java 0 watchers
mybatis_learning
Learn and Practice MyBatis
Shell 0 watchers
notebooks
personal notebooks
0 watchers
oauth2lab
source code and instructions for oauth2 labs
0 watchers
OpenPDF
OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Shell 0 watchers
operator-precedence
Java basic practice for beginners: calculation
Java 0 watchers
play-algorithm-and-data-structures
Java Practice
0 watchers
Play-with-Data-Structures
Codes of my MOOC Course <Play Data Structures in Java>. Updated contents and practices are also included. 我在慕课网上的课程《Java语言玩转数据结构》示例代码。课程的更多更新内容及辅助练习也将逐步添加进这个代码仓。
Java 0 watchers
print-all-narcissistic-number
Java basic practice for beginners: control flow
Java 0 watchers
print-numbers-in-loop
Java basic practice for beginners: control flow
Java 0 watchers
print-numbers-in-order
Java basic practice for beginners: calculation
Shell 0 watchers
psvm-method-invoke-add
Java basic practice for beginners.
Shell 0 watchers
psvm-method-invoke-add-string
Java basic practice for beginners.
Shell 0 watchers
psvm-method-invoke-multiple-methods
Java basic practice for beginners.
Shell 0 watchers
psvm-method-invoke-other-method
Java basic practice for beginners.
Shell 0 watchers
psvm-method-read-static-variable
Java basic practice for beginners.
Shell 0 watchers
psvm-method-write-static-variable
Java basic practice for beginners.
Java 0 watchers
redis-learning-practice
Learn and Practice Redis Non-Relational Database
0 watchers
resume
An elegant \LaTeX\ résumé template. 大陆镜像 https://gods.coding.net/p/resume/git
Java 0 watchers
simple-rpc
The practice of the GeekTime Message Queue Master course
monstervivi

monstervivi

V2EX member #360834, joined on 2018-11-05 08:55:11 +08:00
Today's activity rank 1205
Per monstervivi's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
monstervivi's recent replies
好像是按照时区判断的
@monstervivi

修正: 应该是加上 produces ,例如 @GetMapping(value = "x", produces = "application/json;charset=")
不过如果要修改,应该也不用修改 Spring 的 MessageConverter 吧?

@RequestMapping 注解,可以加上 consumes 值呀,例如: @GetMapping(value = "x" cOnsumes= "*/*")
HTTP 响应 Body ,当然是以 Request Header 中的 Accept 字段来准 ,这就是 HTTP 规范呀。

而且 Spring Web 处理响应 Body 就是按照 Accept 字段来分不同逻辑来处理。

参考 [AbstractMessageConverterMethodProcessor#writeWithMessageConverters]( https://github.com/spring-projects/spring-framework/blob/main/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodProcessor.java#L224C1-L224C1)

连 Spring 都是按此来作为标准,所以我认为这就是标准做法。
Raycast


刚找到讲解 DNS 代理的资料,希望可以帮到你。
About     Help     Advertise     Blog     API     FAQ     Solana     3794 Online   Highest 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 28ms UTC 00:18 PVG 08:18 LAX 17:18 JFK 20:18
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86