public class CaptureTemplate extends AbstractOperations implements CaptureOperations
formatter| Constructor and Description |
|---|
CaptureTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Int> |
addCaptureCard(CaptureCard captureCard)
- POST
|
org.springframework.http.ResponseEntity<Int> |
addCardInput(CardInput cardInput)
- POST
|
protected String |
getApiUrlBase() |
org.springframework.http.ResponseEntity<CaptureCardWrapper> |
getCaptureCard(int cardId,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<CaptureCardList> |
getCaptureCardList(ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<CaptureCardList> |
getCaptureCardList(String hostName,
String cardType,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<Bool> |
removeCaptureCard(int cardId,
ETagInfo etag)
- POST
|
org.springframework.http.ResponseEntity<Bool> |
removeCardInput(int cardInputId)
- POST
|
org.springframework.http.ResponseEntity<Bool> |
updateCaptureCard(int cardId,
String setting,
String value)
- POST
|
org.springframework.http.ResponseEntity<Bool> |
updateCardInput(int cardInputId,
String setting,
String value)
- POST
|
buildUri, buildUri, buildUri, convertUtcAndFormat, getRequestEntity, handleResponseEtagpublic CaptureTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
public org.springframework.http.ResponseEntity<Int> addCaptureCard(CaptureCard captureCard) throws MythServiceApiRuntimeException
CaptureOperationsaddCaptureCard in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Int> addCardInput(CardInput cardInput) throws MythServiceApiRuntimeException
CaptureOperationsaddCardInput in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<CaptureCardWrapper> getCaptureCard(int cardId, ETagInfo etag) throws MythServiceApiRuntimeException
CaptureOperationsgetCaptureCard in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(ETagInfo etag) throws MythServiceApiRuntimeException
CaptureOperationsgetCaptureCardList in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(String hostName, String cardType, ETagInfo etag) throws MythServiceApiRuntimeException
CaptureOperationsgetCaptureCardList in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> removeCaptureCard(int cardId, ETagInfo etag) throws MythServiceApiRuntimeException
CaptureOperationsremoveCaptureCard in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> removeCardInput(int cardInputId) throws MythServiceApiRuntimeException
CaptureOperationsremoveCardInput in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> updateCaptureCard(int cardId, String setting, String value) throws MythServiceApiRuntimeException
CaptureOperationsupdateCaptureCard in interface CaptureOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> updateCardInput(int cardInputId, String setting, String value) throws MythServiceApiRuntimeException
CaptureOperationsupdateCardInput in interface CaptureOperationsMythServiceApiRuntimeExceptionprotected String getApiUrlBase()
getApiUrlBase in class AbstractOperationsCopyright © 2012. All Rights Reserved.