Uses of Enum
org.refcodes.web.TopLevelType
-
Uses of TopLevelType in org.refcodes.web
Modifier and TypeMethodDescriptionstatic TopLevelType
TopLevelType.fromHttpTopLevelType
(String aHttpTopLevelType) Returns thatTopLevelType
represented by the given HTTP Top-Level-Media-Type.ContentType.getTopLevelType()
Retrieves the Media-Top-Level-Type from the Media-Top-Level-Type property.MediaType.getTopLevelType()
Retrieves the Media-Top-Level-Type from the Media-Top-Level-Type property.TopLevelTypeAccessor.getTopLevelType()
Retrieves the Media-Top-Level-Type from the Media-Top-Level-Type property.default TopLevelType
TopLevelTypeAccessor.TopLevelTypeProperty.letTopLevelType
(TopLevelType aTopLevelType) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTopLevelType
(setter) as ofTopLevelTypeAccessor.TopLevelTypeMutator.setTopLevelType(TopLevelType)
and returns the very same value (getter).static TopLevelType
Returns the enum constant of this type with the specified name.static TopLevelType[]
TopLevelType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic MediaType[]
MediaType.fromTopLevelType
(TopLevelType aTopLevelType) Returns all herein definedMediaType
elements belonging to the givenTopLevelType
.default TopLevelType
TopLevelTypeAccessor.TopLevelTypeProperty.letTopLevelType
(TopLevelType aTopLevelType) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTopLevelType
(setter) as ofTopLevelTypeAccessor.TopLevelTypeMutator.setTopLevelType(TopLevelType)
and returns the very same value (getter).void
TopLevelTypeAccessor.TopLevelTypeMutator.setTopLevelType
(TopLevelType aTopLevelType) Sets the Media-Top-Level-Type for the Media-Top-Level-Type property.TopLevelTypeAccessor.TopLevelTypeBuilder.withTopLevelType
(TopLevelType aTopLevelType) Sets the Media-Top-Level-Type for the Media-Top-Level-Type property.