Skip to main content

[jax-rs-spec issues] [JIRA] Created: (JAX_RS_SPEC-425) Remove the requirement to throw ISE from Response.readEntity if original entity is initialized but not backed up by InputStream

  • From: "beryozkin_sergey (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [jax-rs-spec issues] [JIRA] Created: (JAX_RS_SPEC-425) Remove the requirement to throw ISE from Response.readEntity if original entity is initialized but not backed up by InputStream
  • Date: Mon, 9 Sep 2013 11:39:07 +0000 (UTC)
  • Auto-submitted: auto-generated

Remove the requirement to throw ISE from Response.readEntity if original 
entity is initialized but not backed up by InputStream
-------------------------------------------------------------------------------------------------------------------------------

                 Key: JAX_RS_SPEC-425
                 URL: https://java.net/jira/browse/JAX_RS_SPEC-425
             Project: jax-rs-spec
          Issue Type: Improvement
          Components: model api
    Affects Versions: 2.0
            Reporter: beryozkin_sergey
            Assignee: Marek Potociar
            Priority: Minor
             Fix For: 2.1


This is a minor improvement request.

We've found a requirement to throw ISE from response.readEntity if the entity 
is not backed up by InputStream is restricting if:
- client request filter aborts the chain with Response containing an entity 
(ex, Book) - having to represent it as InputStream is tricky

Also removing this requirement now will open up options for reading of 
InputStream via custom XMLStreamReader in the future

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jax-rs-spec issues] [JIRA] Created: (JAX_RS_SPEC-425) Remove the requirement to throw ISE from Response.readEntity if original entity is initialized but not backed up by InputStream

beryozkin_sergey (JIRA) 09/09/2013
 
 
Close
loading
Please Confirm
Close