Package com.exedio.cope.pattern
Class MediaImageioFilter
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.MediaPath
com.exedio.cope.pattern.MediaFilter
com.exedio.cope.pattern.MediaImageioFilter
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MediaThumbnail
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.exedio.cope.pattern.MediaPath
MediaPath.Locator, MediaPath.Log, MediaPath.NotFound -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddoGetAndCommit(HttpServletRequest request, HttpServletResponse response, Item item) The implementor MUSTcommitthe transaction, if the method completes normally (without exception).abstract BufferedImagefilter(BufferedImage in) final byte[]final StringgetContentType(Item item) final booleanMethods inherited from class com.exedio.cope.pattern.MediaFilter
getLastModified, getLocatorWithFallbackToSource, getSource, getURLWithFallbackToSource, isFinal, isMandatory, isNotNull, isNotNull, isNull, isNullMethods inherited from class com.exedio.cope.pattern.MediaPath
commit, getExceptionLogs, getGuessedUrlLogs, getInfo, getInvalidSpecialLogs, getIsNullLogs, getLocator, getNamedURL, getNoSuchItemLogs, getNoSuchPath, getNoSuchPathLogs, getNotAnItemLogs, getNotComputableLogs, getURL, incrementDelivered, isUrlFingerPrinted, isUrlGuessingPrevented, isUrlGuessingPreventedSecurely, notFoundIsNull, notFoundNotComputable, onMountMethods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, registerSourceMethods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
Constructor Details
-
MediaImageioFilter
-
-
Method Details
-
getSupportedSourceContentTypes
- Specified by:
getSupportedSourceContentTypesin classMediaFilter
-
getContentType
- Specified by:
getContentTypein classMediaPath
-
isContentTypeWrapped
public final boolean isContentTypeWrapped()- Overrides:
isContentTypeWrappedin classMediaPath
-
filter
-
doGetAndCommit
public final void doGetAndCommit(HttpServletRequest request, HttpServletResponse response, Item item) throws IOException, MediaPath.NotFound Description copied from class:MediaPathThe implementor MUSTcommitthe transaction, if the method completes normally (without exception). Otherwise the implementor may or may not commit the transaction.- Specified by:
doGetAndCommitin classMediaPath- Throws:
IOExceptionMediaPath.NotFound
-
get
- Throws:
IOException
-
getImageWriteParam
-