|
FW: [jersey/jersey] SseEventSink invokes custom WriterInterceptor with wrong type, then throws NPE (#3592)
Experts,
I know this is really late to discuss, but in fact, I doubt that it was a good decision to take WriterInterceptor out of the processing chain for SSE events.
In fact, today I set up a
Experts,
I know this is really late to discuss, but in fact, I doubt that it was a good decision to take WriterInterceptor out of the processing chain for SSE events.
In fact, today I set up a
|
By
Markus KARG
·
#203
·
|
|
Re: Proposed Final Draft -- Java 8 Implementation
A target of JAX-RS 2.1 is support for Java 8. So I wonder why still idioms of the pre-8 age are used in the API implementation instead of Java 8 idioms. For example:
default OutboundSseEvent
A target of JAX-RS 2.1 is support for Java 8. So I wonder why still idioms of the pre-8 age are used in the API implementation instead of Java 8 idioms. For example:
default OutboundSseEvent
|
By
Markus KARG
·
#202
·
|
|
Re: Proposed Final Draft
jaxrs-2_1-pfd-api.zip\javax.ws.rs-api-2.1-m09-sources.jar contains module-info.java. Is that by intention? I thought you wanted to omit that due that Java 9 not being final?
-Markus
jaxrs-2_1-pfd-api.zip\javax.ws.rs-api-2.1-m09-sources.jar contains module-info.java. Is that by intention? I thought you wanted to omit that due that Java 9 not being final?
-Markus
|
By
Markus KARG
·
#201
·
|
|
Proposed Final Draft
Dear experts,
we'd like to announce that Proposed Final Draft was published on JCP JSR 370 page [1].
I'd like to encourage you all to review provided artifacts and let us know if you have any
Dear experts,
we'd like to announce that Proposed Final Draft was published on JCP JSR 370 page [1].
I'd like to encourage you all to review provided artifacts and let us know if you have any
|
By
Pavel Bucek
·
#200
·
|
|
Re: JAX-RS and @ValidateOnExecution
2017-06-20 13:43 GMT+02:00 Pavel Bucek <pavel.bucek@...>:
Yes, right. The @VOE given on the class-level could be overridden by
@VOE on a specific method, though. Check out the JavaDocs of @VOE
2017-06-20 13:43 GMT+02:00 Pavel Bucek <pavel.bucek@...>:
Yes, right. The @VOE given on the class-level could be overridden by
@VOE on a specific method, though. Check out the JavaDocs of @VOE
|
By
Gunnar Morling
·
#199
·
|
|
Re: JAX-RS and @ValidateOnExecution
Hi Gunnar,
thanks for your response!
please see inline.
So (and allow me to ask a dumb question, I just need to be extra clear on this) if @ValidateOnExecution(CONSTRUCTORS) is declared on class
Hi Gunnar,
thanks for your response!
please see inline.
So (and allow me to ask a dumb question, I just need to be extra clear on this) if @ValidateOnExecution(CONSTRUCTORS) is declared on class
|
By
Pavel Bucek
·
#198
·
|
|
Re: JAX-RS and @ValidateOnExecution
2017-06-20 9:34 GMT+02:00 Pavel Bucek <pavel.bucek@...>:
That's right. So if Jersey still is executing the validation in this
case, it seems to be a bug.
Using this on a method (as opposed to
2017-06-20 9:34 GMT+02:00 Pavel Bucek <pavel.bucek@...>:
That's right. So if Jersey still is executing the validation in this
case, it seems to be a bug.
Using this on a method (as opposed to
|
By
Gunnar Morling
·
#197
·
|
|
Re: JAX-RS and @ValidateOnExecution
Sergey,
I agree that disabling validation using @ValidateOnExecution is some kind of "special case".
However, the JAX-RS spec explicitly mentions that getter methods aren't validated by default
Sergey,
I agree that disabling validation using @ValidateOnExecution is some kind of "special case".
However, the JAX-RS spec explicitly mentions that getter methods aren't validated by default
|
By
Christian Kaltepoth
·
#196
·
|
|
Re: JAX-RS and @ValidateOnExecution
Thanks, see it now...
Sergey
Thanks, see it now...
Sergey
|
By
Sergey Beryozkin
·
#195
·
|
|
Re: JAX-RS and @ValidateOnExecution
Hi,
We still want Bean Validation, but we don't want the JAX-RS runtime to do the validation for us as this will be handled by the MVC implementation and provided for the application developer in the
Hi,
We still want Bean Validation, but we don't want the JAX-RS runtime to do the validation for us as this will be handled by the MVC implementation and provided for the application developer in the
|
By
Ivar Grimstad
·
#194
·
|
|
Re: JAX-RS and @ValidateOnExecution
Hi
Thanks for the explanation, though I'm still not sure why removing @NotNull can not achieve the same goal ? The controller method will get the control, check for null/etc ?
Hi
Thanks for the explanation, though I'm still not sure why removing @NotNull can not achieve the same goal ? The controller method will get the control, check for null/etc ?
|
By
Sergey Beryozkin
·
#193
·
|
|
Re: JAX-RS and @ValidateOnExecution
One use case for this is to allow for more fine-grained exception handling. As in the case of MVC 1.0 we want to allow the controller methods to be handling exceptions in the cases where the catch-all
One use case for this is to allow for more fine-grained exception handling. As in the case of MVC 1.0 we want to allow the controller methods to be handling exceptions in the cases where the catch-all
|
By
Ivar Grimstad
·
#192
·
|
|
Re: JAX-RS and @ValidateOnExecution
Sorry, I was referring to @ValidateOnException...
Sorry, I was referring to @ValidateOnException...
|
By
Sergey Beryozkin
·
#191
·
|
|
Re: JAX-RS and @ValidateOnExecution
Hi Pavel, All
CXF ignores this validation completely which is probably not makes its BeanVal code very pure (I'll have a look at the code though), but
just out of
Hi Pavel, All
CXF ignores this validation completely which is probably not makes its BeanVal code very pure (I'll have a look at the code though), but
just out of
|
By
Sergey Beryozkin
·
#190
·
|
|
Re: JAX-RS and @ValidateOnExecution
Do we have BeanValidation expert here? ;) Gunnar?
I believe the implementation should skip the method validation when
@ValidateOnExecution(type = ExecutableType.NONE) is on the method
Do we have BeanValidation expert here? ;) Gunnar?
I believe the implementation should skip the method validation when
@ValidateOnExecution(type = ExecutableType.NONE) is on the method
|
By
Pavel Bucek
·
#189
·
|
|
Re: JAX-RS and @ValidateOnExecution
Hi Christian,
seems to be a Jersey bug.
Regards,
Pavel
Hi Christian,
seems to be a Jersey bug.
Regards,
Pavel
|
By
Pavel Bucek
·
#188
·
|
|
JAX-RS and @ValidateOnExecution
Hey everyone,
I've a question regarding JAX-RS and @ValidateOnExecution. Please have a look at the following code:
@GET
@Path("/foobar")
@ValidateOnExecution(type = ExecutableType.NONE)
public
Hey everyone,
I've a question regarding JAX-RS and @ValidateOnExecution. Please have a look at the following code:
@GET
@Path("/foobar")
@ValidateOnExecution(type = ExecutableType.NONE)
public
|
By
Christian Kaltepoth
·
#187
·
|
|
Re: Status of JAXB in JAX-RS 2.1
Yes I know that the target platform for Java EE 8 is Java SE 8, but what I talked about solely was the section about Java SE deployment of JAX-RS 2.1 spec, which does *not* say Java 8. So maybe we
Yes I know that the target platform for Java EE 8 is Java SE 8, but what I talked about solely was the section about Java SE deployment of JAX-RS 2.1 spec, which does *not* say Java 8. So maybe we
|
By
Markus KARG
·
#186
·
|
|
Re: Status of JAXB in JAX-RS 2.1
JAXB dependency cannot be declared optional, that's a fact. Even if everyone from the EG would be for that, it won't be done. Reasons were already stated on this list.
We are not going
JAXB dependency cannot be declared optional, that's a fact. Even if everyone from the EG would be for that, it won't be done. Reasons were already stated on this list.
We are not going
|
By
Pavel Bucek
·
#185
·
|
|
Re: Status of JAXB in JAX-RS 2.1
Pavel,
it seems you just have a different interpretation of the word "end user". At least I, as a car end user, do neither read the specification of pistons, nor does my car vendor add a note to
Pavel,
it seems you just have a different interpretation of the word "end user". At least I, as a car end user, do neither read the specification of pistons, nor does my car vendor add a note to
|
By
Markus KARG
·
#184
·
|