removed If-Modified-Since header param

merge-requests/7/head
hasuniea 9 years ago
parent 92cf44380e
commit e2cebcd430

@ -147,11 +147,6 @@ public interface ActivityInfoProviderService {
"should be provided in unix format in seconds.",
required = true)
@QueryParam("timestamp") long timestamp,
@ApiParam(
name = "If-Modified-Since",
value = "Validates if the requested variant has not been modified since the time specified",
required = false)
@HeaderParam("If-Modified-Since") String ifModifiedSince,
@ApiParam(
name = "offset",
value = "Starting point within the complete list of items qualified.",

@ -71,10 +71,9 @@ public class ActivityProviderServiceImpl implements ActivityInfoProviderService
@Override
public Response getActivities(
@QueryParam("timestamp") long timestamp,
@HeaderParam("If-Modified-Since") String ifModifiedSince,
@QueryParam("offset") int offset,
@QueryParam("limit") int limit) {
List<Activity> activities = null;
List<Activity> activities;
DeviceManagementProviderService dmService;
try {
dmService = DeviceMgtAPIUtils.getDeviceManagementService();

Loading…
Cancel
Save