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