开发者

Getting the real request string in Jersey

开发者 https://www.devze.com 2023-03-09 02:48 出处:网络
I\'m having some trouble implementing a sort of oddball spec using Jersey, and it would help me if I could get the raw request string.

I'm having some trouble implementing a sort of oddball spec using Jersey, and it would help me if I could get the raw request string.

Basically the spec calls for requests that end in ? and ?? to be processed separately, but from what I can tell, UriInfo doesn't give you a request string back, but a URI object, which chops the last ? off. So I can't distinguish requests that ended in one ? from those that ended in none.

Any idea how I would go 开发者_如何转开发about getting the raw request string? Or should I just give up and use a raw Servlet?

0

精彩评论

暂无评论...
验证码 换一张
取 消