Interface SubjectMapper
public interface SubjectMapper
An interface for mapping subjects.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Added to a mapped subject prefix -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGiven a subject, returns a mapping to a new subject.void
initialise
(SubjectMapper.Context context) This notifies theSubjectMapper
that it is about to be loaded.
-
Field Details
-
MAPPED_PREFIX_EXTENSION
- See Also:
-
-
Method Details
-
initialise
This notifies the
SubjectMapper
that it is about to be loaded. This method will be called by the system once.You should use this method to perform any initialisation required before the
SubjectMapper
is loaded by the system. -
apply
Given a subject, returns a mapping to a new subject. Future requests for the given subject will be redirected to the new subject.
You should use this method to return a mapping for the given subject.
- Returns:
- the mapped subject.
-