Package de.hybris.platform.media.web
Class DefaultMediaFilterLogic
java.lang.Object
de.hybris.platform.media.web.DefaultMediaFilterLogic
- Direct Known Subclasses:
TestDefaultMediaFilterLogic
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMediaFilterLogic(FlexibleSearchService flexibleSearchService, MediaService mediaService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentType(javax.servlet.http.HttpServletResponse httpResponse, MediaFilterLogicContext ctx) protected StringdetectContentType(Iterable<String> mediaContext, String resourcePath) extractDataPKFromLocation(String location) protected StringgetContextPart(MediaFilterLogicContext.ContextPart contextPart, Iterable<String> mediaContext) protected MediaManagergetPersistedContentType(String folderQualifier, String location) loadMimesFromDb(PK dataPK) loadMimesFromDb(String location, MediaFolderModel folder) Deprecated, for removal: This API element is subject to removal in a future version.since 2105 in favor of loadMimesFromDb(final PK dataPK) because fo performance issuesvoid
-
Constructor Details
-
DefaultMediaFilterLogic
public DefaultMediaFilterLogic(FlexibleSearchService flexibleSearchService, MediaService mediaService)
-
-
Method Details
-
addContentType
public void addContentType(javax.servlet.http.HttpServletResponse httpResponse, MediaFilterLogicContext ctx) -
verifyHash
-
getPersistedContentType
-
extractDataPKFromLocation
-
loadMimesFromDb
-
loadMimesFromDb
@Deprecated(since="2105", forRemoval=true) protected List<String> loadMimesFromDb(String location, MediaFolderModel folder) Deprecated, for removal: This API element is subject to removal in a future version.since 2105 in favor of loadMimesFromDb(final PK dataPK) because fo performance issues -
detectContentType
-
getMediaManager
-
getContextPart
protected String getContextPart(MediaFilterLogicContext.ContextPart contextPart, Iterable<String> mediaContext)
-