Comments (10)
Reported by [email protected]
from jersey.
[email protected] said:
correct issue summary
from jersey.
[email protected] said:
Yes, this is a validation issue, that should result in a deployment error or a
warning.
There are a whole bunch of these we need to enumerate in the spec and check for
in the implementation.
from jersey.
[email protected] said:
More generally the same validation error/warning should be produced for Java
methods with different method names and signatures but the same consuming media
(and URI paths, if present).
from jersey.
[email protected] said:
I think, we need to add some more validation tests to
BasicValidator#visitAbstractResource method
in the first place.
Later on, if performance tests will prove it is needed,
we can update the validation schema (it uses visitor pattern),
so that it will keep a context information when validating
individual methods, so that we could save one iteration loop.
from jersey.
[email protected] said:
Another case two sub-resource resource methods or locators:
class R {
@path("x") @get String getX()
{ ... }
@path("x") @get String getX() { ... }
}
In addition the following would need to be checked as well:
class R {
@path("x") @get String getX()
{ ... }
@path("x/") @get String getX() { ... }
}
as matching of terminated and non-terminated '/' paths as above is equivalent.
from jersey.
[email protected] said:
All mentioned cases are now being checked during resource model validation.
from jersey.
Was assigned to jersey-issues
from jersey.
This issue was imported from java.net JIRA JERSEY-33
from jersey.
Marked as fixed on Sunday, September 7th 2008, 6:22:47 pm
from jersey.
Related Issues (20)
- Partial update with PUT
- How can I forbidden http method 'OPTIONS' uniformity?
- Problem using wink libraries with JAX-RS 2.0 HOT 2
- java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.introspect.AnnotatedMember.getType()Lcom/fasterxml/jackson/databind/JavaType HOT 1
- Non-ISO8859-1 filenames creating garbled header in multipart request
- Handle com.fasterxml.jackson.databind.exc.InvalidFormatException inside a RequestContext HOT 2
- Jersey REST POST call throwing 404. HOT 2
- Spring RequestScope breaks SpringComponentProvider
- Features are initialized before the SpringComponentProvider
- Jersey creates multiple provider instances if a class implements more than one provider interface HOT 2
- does jersey 2.x Client API support DELETE with a body ? HOT 1
- Java 10 compiled class is breaking at the startup HOT 1
- Jersey threads stuck in `WAITING` HOT 4
- Cannot inject CDI bean into custom validator HOT 3
- Link in exception mapping example README is wrong
- Base64 encoding with non ASCII characters results in ArrayIndexOutOfBoundException
- Issue with SelectableEntityFiltering when the fields specified is . character
- SSE Events delimiter HOT 1
- Allow nested request body inside @BeanParam HOT 1
- Contribute Jersey to Eclipse Foundation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jersey.