felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Walker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4706) Provide way to override Jetty's error pages for status other than 200
Date Thu, 07 Jan 2016 09:17:39 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087100#comment-15087100

Rob Walker commented on FELIX-4706:

May not be relevant for you, but there's a very handy JAX-RS OSGi implementation here using


We've been experimenting with it for a couple of weeks now on a very old version of Felix
and Jetty (Servlet 2.x based) - and even against that old code it's working pretty well for
us. Makes it very easy to expose OSGi services via as a REST API.

> Provide way to override Jetty's error pages for status other than 200
> ---------------------------------------------------------------------
>                 Key: FELIX-4706
>                 URL: https://issues.apache.org/jira/browse/FELIX-4706
>             Project: Felix
>          Issue Type: Wish
>          Components: HTTP Service
>            Reporter: Sarwar Bhuiyan
>            Priority: Minor
> I'm trying to use JAX-RS and Jackson in Felix and have so far been successful in registering
Resource classes which respond to requests but one problem I have is that when the error response
body needs to be set, Jetty is showing its own error html pages and not the entity I'm setting
in the body. Is there a way of turning that off or overriding that behaviour?

This message was sent by Atlassian JIRA

View raw message