Package io.wcm.handler.media
Interface UriTemplate
-
@ProviderType public interface UriTemplate
Describes an URI template returned for a given asset.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxHeight()
long
getMaxWidth()
@NotNull UriTemplateType
getType()
@NotNull java.lang.String
getUriTemplate()
-
-
-
Method Detail
-
getUriTemplate
@NotNull @NotNull java.lang.String getUriTemplate()
- Returns:
- URI template string containing placeholders like
{width}
or{height}
.
-
getType
@NotNull @NotNull UriTemplateType getType()
- Returns:
- URI template type
-
getMaxWidth
long getMaxWidth()
- Returns:
- Maximum width that can be requested for the given asset. Returns 0 if no maximum width is defined.
-
getMaxHeight
long getMaxHeight()
- Returns:
- Maximum height that can be requested for the given asset. Returns 0 if no maximum height is defined.
-
-