-
- All Superinterfaces:
ContentTypeAccessor
,ContentTypeAccessor.ContentTypeMutator
- Enclosing interface:
- ContentTypeAccessor
public static interface ContentTypeAccessor.ContentTypeProperty extends ContentTypeAccessor, ContentTypeAccessor.ContentTypeMutator
Provides a Content-Type property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.web.ContentTypeAccessor
ContentTypeAccessor.ContentTypeBuilder<B extends ContentTypeAccessor.ContentTypeBuilder<B>>, ContentTypeAccessor.ContentTypeMutator, ContentTypeAccessor.ContentTypeProperty, ContentTypeAccessor.ContentTypeProvider
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ContentType
letContentType(ContentType aContentType)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenContentType
(setter) as ofContentTypeAccessor.ContentTypeMutator.setContentType(ContentType)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.web.ContentTypeAccessor
getContentType
-
Methods inherited from interface org.refcodes.web.ContentTypeAccessor.ContentTypeMutator
setContentType
-
-
-
-
Method Detail
-
letContentType
default ContentType letContentType(ContentType aContentType)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenContentType
(setter) as ofContentTypeAccessor.ContentTypeMutator.setContentType(ContentType)
and returns the very same value (getter).- Parameters:
aContentType
- TheContentType
to set (viaContentTypeAccessor.ContentTypeMutator.setContentType(ContentType)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-