public class GuideTemplate extends AbstractOperations implements GuideOperations
formatter| Constructor and Description |
|---|
GuideTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getApiUrlBase() |
org.springframework.http.ResponseEntity<String> |
getChannelIcon(int channelId,
int width,
int height,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<ProgramWrapper> |
getProgramDetails(int channelId,
org.joda.time.DateTime startTime,
ETagInfo etag)
- GET
|
org.springframework.http.ResponseEntity<ProgramGuideWrapper> |
getProgramGuide(org.joda.time.DateTime start,
org.joda.time.DateTime end,
int startChannelId,
int numberOfChannels,
boolean details,
ETagInfo etag)
- GET
|
buildUri, buildUri, buildUri, convertUtcAndFormat, getRequestEntity, handleResponseEtagpublic GuideTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
public org.springframework.http.ResponseEntity<String> getChannelIcon(int channelId, int width, int height, ETagInfo etag) throws MythServiceApiRuntimeException
GuideOperationsgetChannelIcon in interface GuideOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramWrapper> getProgramDetails(int channelId, org.joda.time.DateTime startTime, ETagInfo etag) throws MythServiceApiRuntimeException
GuideOperationsgetProgramDetails in interface GuideOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramGuideWrapper> getProgramGuide(org.joda.time.DateTime start, org.joda.time.DateTime end, int startChannelId, int numberOfChannels, boolean details, ETagInfo etag) throws MythServiceApiRuntimeException
GuideOperationsgetProgramGuide in interface GuideOperationsMythServiceApiRuntimeExceptionprotected String getApiUrlBase()
getApiUrlBase in class AbstractOperationsCopyright © 2012. All Rights Reserved.