[aerogear-dev] Controller consumes - defaults... / settings

Matthias Wessendorf matzew at apache.org
Thu Mar 28 06:59:58 EDT 2013


I've create a ticket:
https://issues.jboss.org/browse/AEROGEAR-1067

On Thu, Mar 28, 2013 at 11:56 AM, Matthias Wessendorf <matzew at apache.org> wrote:
> On Thu, Mar 28, 2013 at 11:52 AM, Daniel Bevenius
> <daniel.bevenius at gmail.com> wrote:
>>>so let's see what the best "option" is to make it a good dev. experience :)
>> If this will help developers then lets add it :)
>>
>> We would need to look into this and have some special handling for producers
>> (it's what media types a route produces that is matched with the Accept
>> header in the request). Perhaps if the route only specifies that it
>> produces("application/json"), and if a request has an Accept header that is
>> "text/html", then we simply accept that too for the route and return json.
>
>
> +1  I like that !!!
>
>> But if it the route specifically produces "text/html" it should be forwarded
>> to the view.
>>
>> Please create a feature request for this and we can look into it.
>
> kk - will link to this thread, so that we don't loose the discussions
> around here
>
> -M
>
>>
>>
>>
>>
>> On 28 March 2013 11:45, Matthias Wessendorf <matzew at apache.org> wrote:
>>>
>>> On Thu, Mar 28, 2013 at 11:40 AM, Bruno Oliveira <bruno at abstractj.org>
>>> wrote:
>>> > Nothing odd, just something not tested/required before ;)
>>>
>>> so let's see what the best "option" is to make it a good dev. experience
>>> :)
>>>
>>> >
>>> >
>>> > --
>>> > "The measure of a man is what he does with power" - Plato
>>> > -
>>> > @abstractj
>>> > -
>>> > Volenti Nihil Difficile
>>> >
>>> > On Thursday, March 28, 2013 at 7:36 AM, Matthias Wessendorf wrote:
>>> >
>>> > receiving a 404 is a bit odd - at least I feel it that way :)
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > aerogear-dev mailing list
>>> > aerogear-dev at lists.jboss.org
>>> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


More information about the aerogear-dev mailing list