public class FrontendTemplate extends AbstractOperations implements FrontendOperations
formatter| Constructor and Description |
|---|
FrontendTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase) |
| Modifier and Type | Method and Description |
|---|---|
protected URI |
buildUri(String path,
org.springframework.util.MultiValueMap<String,String> parameters) |
org.springframework.http.ResponseEntity<FrontendActionList> |
getActionList(String frontedApiUrlBase,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<FrontendStatus> |
getStatus(String frontedApiUrlBase,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<Bool> |
sendAction(String frontedApiUrlBase,
String action,
String file,
int width,
int height)
- GET
|
org.springframework.http.ResponseEntity<Bool> |
sendMessage(String frontedApiUrlBase,
String message)
- GET
|
buildUri, buildUri, convertUtcAndFormat, getApiUrlBase, getRequestEntity, handleResponseEtagpublic FrontendTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
public org.springframework.http.ResponseEntity<FrontendStatus> getStatus(String frontedApiUrlBase, ETagInfo etag) throws MythServiceApiRuntimeException
FrontendOperationsgetStatus in interface FrontendOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> sendMessage(String frontedApiUrlBase, String message) throws MythServiceApiRuntimeException
FrontendOperationssendMessage in interface FrontendOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> sendAction(String frontedApiUrlBase, String action, String file, int width, int height) throws MythServiceApiRuntimeException
FrontendOperationssendAction in interface FrontendOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<FrontendActionList> getActionList(String frontedApiUrlBase, ETagInfo etag) throws MythServiceApiRuntimeException
FrontendOperationsgetActionList in interface FrontendOperationsMythServiceApiRuntimeExceptionCopyright © 2012. All Rights Reserved.