Module org.refcodes.web
Package org.refcodes.web
Interface MediaTypeAccessor.MediaTypeBuilder<B extends MediaTypeAccessor.MediaTypeBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- MediaTypeAccessor
public static interface MediaTypeAccessor.MediaTypeBuilder<B extends MediaTypeAccessor.MediaTypeBuilder<B>>
Provides a builder method for a Media-Type property returning the builder
for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithMediaType
(MediaType aMediaType) Sets the Media-Type for the Media-Type property.
-
Method Details
-
withMediaType
Sets the Media-Type for the Media-Type property.- Parameters:
aMediaType
- The Media-Type to be stored by the Media-Type property.- Returns:
- The builder for applying multiple build operations.
-