@FunctionalInterface
public interface JerseyApplicationPath
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPath()
Returns the configured path of the application.
|
default java.lang.String |
getPrefix()
Return a cleaned up version of the path that can be used as a prefix for URLs.
|
default java.lang.String |
getRelativePath(java.lang.String path)
Return a form of the given path that's relative to the Jersey application path.
|
default java.lang.String |
getUrlMapping()
Return a URL mapping pattern that can be used with a
ServletRegistrationBean to map Jersey's servlet. |
java.lang.String getPath()
default java.lang.String getRelativePath(java.lang.String path)
path - the path to make relativedefault java.lang.String getPrefix()
getRelativePath(String)default java.lang.String getUrlMapping()
ServletRegistrationBean to map Jersey's servlet.