public static interface CamelCaseInterceptor.Factory
CamelCaseInterceptor
s
in MimeLookup
. An example registration with java annotations.
@MimeRegistrations({
@MimeRegistration(mimeType = "x-something", service = CamelCaseInterceptor.Factory.class)})
Modifier and Type | Method and Description |
---|---|
CamelCaseInterceptor |
createCamelCaseInterceptor(MimePath mimePath)
Creates a new interceptor for the given
MimePath . |
CamelCaseInterceptor createCamelCaseInterceptor(MimePath mimePath)
MimePath
.mimePath
- The MimePath
for which the infrastructure
needs the new interceptor. Typically this is the same MimePath
where this Factory
was registered, but in embedded scenarios
this can be a different MimePath
.