You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Oliver Strässer (JIRA)" <ji...@apache.org> on 2011/01/20 08:20:44 UTC

[jira] Created: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

make javax.ws.rs.core.HttpHeaders available in ssp
--------------------------------------------------

                 Key: CLEREZZA-401
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
             Project: Clerezza
          Issue Type: Improvement
            Reporter: Oliver Strässer
            Priority: Critical


please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 

With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more

I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


AW: [jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by Oliver Strässer <ol...@getunik.com>.
are there some updates or planings?

-----Ursprüngliche Nachricht-----
Von: Oliver Strässer (JIRA) [mailto:jira@apache.org] 
Gesendet: Mittwoch, 26. Januar 2011 17:00
An: clerezza-dev@incubator.apache.org
Betreff: [jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp


    [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987073#action_12987073 ] 

Oliver Strässer commented on CLEREZZA-401:
------------------------------------------

i like to use and have access to this funciton in ssp: 

 java.util.List<java.util.Locale> 	getAcceptableLanguages()
 java.util.List<MediaType> 	getAcceptableMediaTypes()
 java.util.Map<java.lang.String,Cookie> 	getCookies()
 java.util.Locale 	getLanguage()
 MediaType 	getMediaType()
 java.util.List<java.lang.String> 	getRequestHeader(java.lang.String name)
 MultivaluedMap<java.lang.String,java.lang.String> 	getRequestHeaders()




> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994336#comment-12994336 ] 

Reto Bachmann-Gmür commented on CLEREZZA-401:
---------------------------------------------

Its now available as val requestHeaders = requestProperties.getRequestHeaders, httpHeaders has been renamed to responseHeaders


> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Oliver Strässer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987070#action_12987070 ] 

Oliver Strässer commented on CLEREZZA-401:
------------------------------------------

your change gives me only the httpHeaders from the requestProperties, wich is the MultivaluedMap.

that wasn't the reason of this issue.

the reason of this issue is: make the HttpHeaders object avaible not the MultivaluedMap with all parameters.
this object: http://docs.jboss.org/resteasy/docs/1.0.0.GA/javadocs/javax/ws/rs/core/HttpHeaders.html 




> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reassigned CLEREZZA-401:
-------------------------------------------

    Assignee: Reto Bachmann-Gmür

> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Oliver Strässer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987073#action_12987073 ] 

Oliver Strässer commented on CLEREZZA-401:
------------------------------------------

i like to use and have access to this funciton in ssp: 

 java.util.List<java.util.Locale> 	getAcceptableLanguages()
 java.util.List<MediaType> 	getAcceptableMediaTypes()
 java.util.Map<java.lang.String,Cookie> 	getCookies()
 java.util.Locale 	getLanguage()
 MediaType 	getMediaType()
 java.util.List<java.lang.String> 	getRequestHeader(java.lang.String name)
 MultivaluedMap<java.lang.String,java.lang.String> 	getRequestHeaders()




> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür resolved CLEREZZA-401.
-----------------------------------------

    Resolution: Fixed

> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994247#comment-12994247 ] 

Reto Bachmann-Gmür commented on CLEREZZA-401:
---------------------------------------------

Ok, I see the issue: the HttpHeaders passed to the writeTo method og MessageBodyWriter is just a multi-valued map and this are the response headers (so this could be used to set a cookie). Sorry for the confusion.

> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (CLEREZZA-401) make javax.ws.rs.core.HttpHeaders available in ssp

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-401.
---------------------------------------


should have closed them earlier.

> make javax.ws.rs.core.HttpHeaders available in ssp
> --------------------------------------------------
>
>                 Key: CLEREZZA-401
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-401
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>            Priority: Critical
>
> please make the javax.ws.rs.core.HttpHeaders object available in ssp template. 
> With this extensions, it's possible to retrieve the cookies or the language definition of the browser and more
> I'd like to use this object in a current project.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira