Package com.exedio.cope.pattern
Annotation Type RedirectFrom
Specifies a http redirect (moved permanently) to
a
MediaPath
.
Common usage is to maintain old urls after renaming a MediaPath
.
For instance, if there is a media picture
:
static final Media picture = new Media();and this media is renamed to
image
,
then old urls created by picture
can be supported like this:
@RedirectFrom("picture") static final Media image = new Media();
- Author:
- Ralf Wiebicke
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] value
-