Copyright© 2008-2024 Sitevision AB, all rights reserved.
O
- script object@Requireable(value="RestApiFactory") public interface RestApiFactory<O>
REST siblings note!
RestAppInvoker
.
Requester
.
Modifier and Type | Method and Description |
---|---|
VersionedRestApi<O> |
getOfflineRestApi()
Gets the Versioned RestApi utility for the OFFLINE version.
|
VersionedRestApi<O> |
getOnlineRestApi()
Gets the Versioned RestApi utility for the ONLINE version.
|
RestApi<O> |
getRestApi()
Gets the RestApi utility.
|
RestApi<O> getRestApi()
The returned utility invokes the local REST API in
current version
.
VersionedRestApi<O> getOnlineRestApi()
The returned utility always invokes the local REST API in the
ONLINE version
.
Related info: URI prefix for the REST API in the ONLINE version is: /rest-api/1/1/
ONLINE version
VersionedRestApi<O> getOfflineRestApi()
The returned utility always invokes the local REST API in the
OFFLINE version
.
Related info: URI prefix for the REST API in the OFFLINE version is: /rest-api/1/0/
OFFLINE version
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2024 Sitevision AB, all rights reserved.