felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4706) Provide way to override Jetty's error pages for status other than 200
Date Fri, 02 Oct 2015 06:50:26 GMT

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

Carsten Ziegeler commented on FELIX-4706:
-----------------------------------------

Error pages can be registered using the http whiteboard service (OSGi R6). I think this should
solve this problem

> 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
(v6.3.4#6332)

Mime
View raw message