Skip to main content

[JIRA] Resolved: (PORTLETSPEC3-28) Add setStatus method on ResourceResponse

  • From: "msnicklous (JIRA)" < >
  • To:
  • Subject: [JIRA] Resolved: (PORTLETSPEC3-28) Add setStatus method on ResourceResponse
  • Date: Mon, 26 Aug 2013 14:55:19 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/PORTLETSPEC3-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

msnicklous resolved PORTLETSPEC3-28.
------------------------------------

    Resolution: Fixed

Added method [ResourceResponse.setStatus(int 
sc)|http://msnicklous.github.io/portletspec3/javax/portlet/ResourceResponse.html#setStatus%28int%29]

> Add setStatus method on ResourceResponse
> ----------------------------------------
>
>                 Key: PORTLETSPEC3-28
>                 URL: https://java.net/jira/browse/PORTLETSPEC3-28
>             Project: portletspec3
>          Issue Type: Improvement
>          Components: Ideas for JSR 362 Extensions
>            Reporter: julien_viet
>            Assignee: msnicklous
>            Priority: Minor
>
> Resource serving can provide an HTTP response status with the 
> ResourceResponse.HTTP_STATUS_CODE property. Adding a setStatus (like in 
> javax.servlet.http.HttpServletResponse) method on the ResourceResponse that 
> would simply delegate to the status code property would be more explicit 
> and developer friendly, instead of:
> response.addProperty(ResourceResponse.HTTP_STATUS_CODE, "404");
> we would have:
> response.setStatus404);

-- 
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

        


[JIRA] Resolved: (PORTLETSPEC3-28) Add setStatus method on ResourceResponse

msnicklous (JIRA) 08/26/2013
 
 
Close
loading
Please Confirm
Close