cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6853) Support encoded value in @ApplicationPath
Date Thu, 07 Apr 2016 10:05:25 GMT

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

Sergey Beryozkin commented on CXF-6853:
---------------------------------------

Hi Jim, yes, adding ApplicationPath to the path of JAXRSServerFactoryBean is a CXF specific
thing that is now disabled by default

> Support encoded value in @ApplicationPath
> -----------------------------------------
>
>                 Key: CXF-6853
>                 URL: https://issues.apache.org/jira/browse/CXF-6853
>             Project: CXF
>          Issue Type: Task
>          Components: JAX-RS
>    Affects Versions: 3.1.6, 3.0.9
>            Reporter: Jim Ma
>            Assignee: Sergey Beryozkin
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>
> If @ApplicationPath value is  an encoded value, if client send request to http://localhost:8080/Application!/myresource
and get 404 .
> {code}
> @ApplicationPath("ApplicationPath%21")
> public class MyApp extends Application {
>   public java.util.Set<java.lang.Class<?>> getClasses() {
>         Set<Class<?>> resources = new HashSet<Class<?>>();
>         resources.add(MyResource.class);
>         return resources;
>     }   
> }
> {code}
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message