public interface SubjectMapper
Modifier and Type | Interface and Description |
---|---|
static class |
SubjectMapper.Context |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAPPED_PREFIX_EXTENSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.lang.String subject)
Given a subject, returns a mapping to a new subject.
|
void |
initialise(SubjectMapper.Context context)
This notifies the
SubjectMapper that it is about to be loaded. |
static final java.lang.String MAPPED_PREFIX_EXTENSION
void initialise(SubjectMapper.Context context)
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.
java.lang.String apply(java.lang.String subject)
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.
Copyright © 2016 Caplin Systems.