Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 12 : Descriptor cleanup #8611

Merged
merged 7 commits into from
Sep 28, 2022

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Sep 22, 2022

  • Sanity check Resource being provided
  • Descriptor toString changed to include full URI to descriptor so that it can be used consistently in Logging and Exception messages.
  • New Descriptor.toURI() for use in Servlet Source and other logging messages
  • Servlet Source value is now the URI of the Descriptor
  • Cleanup of test cases

Taken from PR #8597

@joakime joakime requested a review from sbordet September 22, 2022 12:08
@joakime joakime self-assigned this Sep 22, 2022
@joakime joakime changed the title Jetty 12 : Descriptor needs a Path to function Jetty 12 : Descriptor cleanup Sep 22, 2022
+ Sanity check Resource being provided
+ Descriptor toString changed to include full URI to descriptor
  so that it can be used consistently in Logging and Exception messages.
+ New Descriptor.toURI() for use in Servlet Source and other logging messages
+ Servlet Source value is now the URI of the Descriptor
@joakime joakime force-pushed the fix/jetty-12-descriptor-path-constructor branch from 64f8c8d to aa77c88 Compare September 22, 2022 17:19
.getResource() must be a Resource
 as it's used in the AnnotationIntrospector
 all others use new .getName()

Not all location/name usages can be loaded as
a Resource.
@joakime joakime requested a review from sbordet September 27, 2022 15:25
@joakime joakime merged commit 597a6af into jetty-12.0.x Sep 28, 2022
@joakime joakime deleted the fix/jetty-12-descriptor-path-constructor branch September 28, 2022 14:09
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