Skip to content

Conversation

@jamezp
Copy link
Member

@jamezp jamezp commented Jan 31, 2023

…OPTIONS method is found. Instead, just return the created response.

https://issues.redhat.com/browse/RESTEASY-3283
Signed-off-by: James R. Perkins jperkins@redhat.com

…OPTIONS method is found. Instead, just return the created response.

https://issues.redhat.com/browse/RESTEASY-3283
Signed-off-by: James R. Perkins <jperkins@redhat.com>
@ronsigal
Copy link
Collaborator

ronsigal commented Feb 2, 2023

Hey @jamezp,

Looks fine to me. ConstantResourceInvoker is pretty cool. I wonder if there's a more general use for it, for caching frequently used requests. Maybe an annotation that says, cache the results of this method. Well, anyway, just wondering.

-Ron

@ronsigal
Copy link
Collaborator

ronsigal commented Feb 2, 2023

Oh, what about adding "dev.resteasy.throw.options.exception" to Installation_Configuration.xml?

@jamezp
Copy link
Member Author

jamezp commented Feb 2, 2023

Hey @jamezp,

Looks fine to me. ConstantResourceInvoker is pretty cool. I wonder if there's a more general use for it, for caching frequently used requests. Maybe an annotation that says, cache the results of this method. Well, anyway, just wondering.

-Ron

That sounds interesting for sure. Definitely something to consider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants