Giter Site home page Giter Site logo

Comments (11)

jerseyrobot avatar jerseyrobot commented on July 1, 2024

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
Reported by [email protected]

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[email protected] said:
correct issue summary

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[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.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[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.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[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.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[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.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
[email protected] said:
All mentioned cases are now being checked during resource model validation.

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
Was assigned to jersey-issues

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
This issue was imported from java.net JIRA JERSEY-33

from jersey.

jerseyrobot avatar jerseyrobot commented on July 1, 2024

@glassfishrobot Commented
Marked as fixed on Sunday, September 7th 2008, 6:22:47 pm

from jersey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.