public final class ContentRestUrls extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SEGMENT_CONTENT_ITEM_DATA |
static String |
SEGMENT_CONTENT_ITEMS_RESOURCE |
static String |
SEGMENT_CONTENT_SERVICE_RESOURCES |
static String |
SEGMENT_QUERY_RESOURCE |
static String[] |
URL_CONTENT_ITEM
URL template for a single content item: /content-service/content-items/{0:contentId}
|
static String[] |
URL_CONTENT_ITEM_COLLECTION
URL template for a content item collection: /content-service/content-items
|
static String[] |
URL_CONTENT_ITEM_DATA
URL template for the data of a content item: /content-service/content-items/{0:contentId}/data
|
static String[] |
URL_QUERY_CONTENT_ITEM
URL template for a content item query resource: /query/content-items
|
| Constructor and Description |
|---|
ContentRestUrls() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createRelativeResourceUrl(String[] segments,
Object... arguments)
Creates an url based on the passed fragments and replaces any placeholders with the given arguments.
|
public static final String SEGMENT_CONTENT_SERVICE_RESOURCES
public static final String SEGMENT_CONTENT_ITEMS_RESOURCE
public static final String SEGMENT_QUERY_RESOURCE
public static final String SEGMENT_CONTENT_ITEM_DATA
public static final String[] URL_CONTENT_ITEM_COLLECTION
public static final String[] URL_CONTENT_ITEM
public static final String[] URL_CONTENT_ITEM_DATA
public static final String[] URL_QUERY_CONTENT_ITEM
public static final String createRelativeResourceUrl(String[] segments, Object... arguments)
MessageFormat convention (eg. {0} is replaced by
first argument value).Copyright © 2019 Flowable. All rights reserved.