Package ch.tocco.nice2.rest.core.spi
Class RequestContext
java.lang.Object
ch.tocco.nice2.rest.core.spi.RequestContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic HalLink
buildLink
(jakarta.ws.rs.core.UriBuilder resourcePath, @Nullable String methodPath, @Nullable Map<String, Object> templateValues, @Nullable List<QueryParam> queryParams) static HalLink
buildLink
(Class<? extends RestResource> resourceClass) static HalLink
buildLink
(Class<? extends RestResource> resourceClass, @Nullable String methodPath, @Nullable Map<String, Object> templateValues, @Nullable List<QueryParam> queryParams) static HalLink
buildLink
(Class<? extends RestResource> resourceClass, @Nullable String methodPath, Map<String, Object> templateValues) static HalLink
buildLink
(Class<? extends RestResource> resourceClass, List<QueryParam> queryParams) static HalLink
static HalLink
static HalLink
static Optional
<jakarta.ws.rs.core.UriInfo> static boolean
static void
setUriInfo
(jakarta.ws.rs.core.UriInfo uriInfo)
-
Method Details
-
getUriInfo
-
setUriInfo
public static void setUriInfo(jakarta.ws.rs.core.UriInfo uriInfo) -
linksOmitted
public static boolean linksOmitted() -
buildLink
-
buildLink
-
buildLink
-
buildLink
public static HalLink buildLink(Class<? extends RestResource> resourceClass, List<QueryParam> queryParams) -
buildLink
-
buildLink
-
buildLink
public static HalLink buildLink(Class<? extends RestResource> resourceClass, @Nullable @Nullable String methodPath, @Nullable @Nullable Map<String, Object> templateValues, @Nullable @Nullable List<QueryParam> queryParams) -
buildLink
-