Package ch.tocco.nice2.rest.core.spi
Class RequestContext
java.lang.Object
ch.tocco.nice2.rest.core.spi.RequestContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic HalLinkbuildLink(jakarta.ws.rs.core.UriBuilder resourcePath, @Nullable String methodPath, @Nullable Map<String, Object> templateValues, @Nullable List<QueryParam> queryParams) static HalLinkbuildLink(Class<? extends RestResource> resourceClass) static HalLinkbuildLink(Class<? extends RestResource> resourceClass, @Nullable String methodPath, @Nullable Map<String, Object> templateValues, @Nullable List<QueryParam> queryParams) static HalLinkbuildLink(Class<? extends RestResource> resourceClass, @Nullable String methodPath, Map<String, Object> templateValues) static HalLinkbuildLink(Class<? extends RestResource> resourceClass, List<QueryParam> queryParams) static HalLinkstatic HalLinkstatic HalLinkstatic Optional<jakarta.ws.rs.core.UriInfo> static booleanstatic voidsetUriInfo(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
-