users@jersey.java.net

[Jersey] Re: is it possible to tunnell the get through post method?

From: Sekhar Vajjhala <sekharv01_at_gmail.com>
Date: Thu, 1 Dec 2011 11:09:01 -0500

There is a PostReplaceFilter -
http://jersey.java.net/nonav/apidocs/1.1.0-ea/jersey/com/sun/jersey/api/container/filter/PostReplaceFilter.html-
but
it looks like it be used to tunnel PUT and DELETE but not GET.

Why don't you just use POST instead of tunnelling GET through POST ? That
seems to be one solution/practice for large inputs (even though it is a
misuse of POST).

Sekhar Vajjhala

On Thu, Dec 1, 2011 at 10:15 AM, sarahk <sarah.kho_at_gmail.com> wrote:

> I am using Jersey for some REST services and now I have a GET request in
> which the parameters will reach 20,000 characters.
>
> my question is:
> Is it possible to tunnel the GET requests through POST methods by enabling
> some configuration?
> Is it possible to somehow use GET with such huge request parameters?
>
>
> Thanks.
>
> --
> View this message in context:
> http://jersey.576304.n2.nabble.com/is-it-possible-to-tunnell-the-get-through-post-method-tp7050886p7050886.html
> Sent from the Jersey mailing list archive at Nabble.com.
>