mirror of https://github.com/apache/jclouds.git
parent
5fd7b1aa78
commit
77d3db0058
|
@ -131,10 +131,14 @@ public class DelegatingMutableContentMetadata implements MutableContentMetadata
|
|||
return delegate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCacheControl(String cacheControl) {
|
||||
delegate.setCacheControl(cacheControl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setContentDisposition(String contentDisposition) {
|
||||
delegate.setContentDisposition(contentDisposition);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -147,6 +151,11 @@ public class DelegatingMutableContentMetadata implements MutableContentMetadata
|
|||
delegate.setContentLanguage(contentLanguage);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCacheControl() {
|
||||
return delegate.getCacheControl();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getContentDisposition() {
|
||||
return delegate.getContentDisposition();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
package org.jclouds.atmos.blobstore.integration;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.testng.Assert.assertEquals;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -76,6 +77,13 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||
// not supported
|
||||
}
|
||||
|
||||
// not supported
|
||||
@Override
|
||||
protected void checkCacheControl(Blob blob, String cacheControl) {
|
||||
assertThat(blob.getPayload().getContentMetadata().getCacheControl()).isNull();
|
||||
assertThat(blob.getMetadata().getContentMetadata().getCacheControl()).isNull();
|
||||
}
|
||||
|
||||
// not supported
|
||||
@Override
|
||||
protected void checkContentDisposition(Blob blob, String contentDisposition) {
|
||||
|
|
Loading…
Reference in New Issue