Module org.refcodes.web
Package org.refcodes.web
Interface ContentTypeAccessor.ContentTypeBuilder<B extends ContentTypeAccessor.ContentTypeBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- ContentTypeAccessor
public static interface ContentTypeAccessor.ContentTypeBuilder<B extends ContentTypeAccessor.ContentTypeBuilder<B>>
Provides a builder method for a Content-Type property returning the
builder for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithContentType
(ContentType aContentType) Sets the Content-Type for the Content-Type property.
-
Method Details
-
withContentType
Sets the Content-Type for the Content-Type property.- Parameters:
aContentType
- The Content-Type to be stored by the Content-Type property.- Returns:
- The builder for applying multiple build operations.
-