Moving ClientFilter from Jersey to Jersey 2
up vote
0
down vote
favorite
I am trying to migrate the usages of Jersey Client in my codebase from com.sun.jersey.client
to org.glassfish.jersey.client
.
In multiple parts of the codebase I am creating classes that inherit from ClientFilter
and override the handle
method.
What is the replacement of ClientFilter
in Jersey 2 and how should I change the places I use it?
java jersey jax-rs
add a comment |
up vote
0
down vote
favorite
I am trying to migrate the usages of Jersey Client in my codebase from com.sun.jersey.client
to org.glassfish.jersey.client
.
In multiple parts of the codebase I am creating classes that inherit from ClientFilter
and override the handle
method.
What is the replacement of ClientFilter
in Jersey 2 and how should I change the places I use it?
java jersey jax-rs
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to migrate the usages of Jersey Client in my codebase from com.sun.jersey.client
to org.glassfish.jersey.client
.
In multiple parts of the codebase I am creating classes that inherit from ClientFilter
and override the handle
method.
What is the replacement of ClientFilter
in Jersey 2 and how should I change the places I use it?
java jersey jax-rs
I am trying to migrate the usages of Jersey Client in my codebase from com.sun.jersey.client
to org.glassfish.jersey.client
.
In multiple parts of the codebase I am creating classes that inherit from ClientFilter
and override the handle
method.
What is the replacement of ClientFilter
in Jersey 2 and how should I change the places I use it?
java jersey jax-rs
java jersey jax-rs
asked Nov 9 at 23:34
pavlos163
498736
498736
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
See Jersey docs section Client Filters. Basically there are ClientRequestFilter
and ClientResponseFilter
. The former is called before the request goes out and the latter is called on the incoming response. See also this post for more info on the flow.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
See Jersey docs section Client Filters. Basically there are ClientRequestFilter
and ClientResponseFilter
. The former is called before the request goes out and the latter is called on the incoming response. See also this post for more info on the flow.
add a comment |
up vote
1
down vote
accepted
See Jersey docs section Client Filters. Basically there are ClientRequestFilter
and ClientResponseFilter
. The former is called before the request goes out and the latter is called on the incoming response. See also this post for more info on the flow.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
See Jersey docs section Client Filters. Basically there are ClientRequestFilter
and ClientResponseFilter
. The former is called before the request goes out and the latter is called on the incoming response. See also this post for more info on the flow.
See Jersey docs section Client Filters. Basically there are ClientRequestFilter
and ClientResponseFilter
. The former is called before the request goes out and the latter is called on the incoming response. See also this post for more info on the flow.
answered Nov 9 at 23:57
Paul Samsotha
147k19277462
147k19277462
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234600%2fmoving-clientfilter-from-jersey-to-jersey-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown