org.ow2.jonas.jaxrs.jersey.internal
Class PathUtils
java.lang.Object
org.ow2.jonas.jaxrs.jersey.internal.PathUtils
public class PathUtils
- extends Object
A PathUtils is responsible to compute web context path information.
- Author:
- Guillaume Sauthier
|
Method Summary |
static String |
getContextPath(javax.ws.rs.core.Application application,
org.osgi.framework.ServiceReference reference)
Build the context path of the given Application |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathUtils
public PathUtils()
getContextPath
public static String getContextPath(javax.ws.rs.core.Application application,
org.osgi.framework.ServiceReference reference)
- Build the context path of the given Application
- Parameters:
application - REST applicationreference - OSGi ServiceReference associated to the Application
- Returns:
- a valid context path
Copyright © 2013 OW2 Consortium. All Rights Reserved.