Uses of Class
org.refcodes.web.ContentType
-
Uses of ContentType in org.refcodes.web
Modifier and TypeMethodDescriptionContentTypeAccessor.getContentType()
Retrieves the Content-Type from the Content-Type property.default ContentType
HeaderFields.getContentType()
Gets the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
: "...default ContentType
ContentTypeAccessor.ContentTypeProperty.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).default ContentType
HeaderFields.putContentType
(HttpMediaType aHttpMediaType) Sets the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
.default ContentType
HeaderFields.putContentType
(MediaType aMediaType, Map<String, String> aParameters) Sets the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
. : "...default ContentType
HeaderFields.removeContentType()
Removes the Content-Type entity-Header-FieldHeaderField.CONTENT_TYPE
. : "...ContentTypeAccessor.ContentTypeProvider.toContentType()
Returns theContentType
instance from the implementing instance.MediaType.toContentType()
Returns aContentType
instance from the available data.ContentType.withCharsetParametrer
(String aValue) Sets the charset parameter's charset-code.ContentType.withInsert
(Object aObj) ContentType.withInsert
(org.refcodes.struct.PathMap<String> aFrom) ContentType.withInsertBetween
(Object[] aToPathElements, Object aFrom, Object[] aFromPathElements) ContentType.withInsertBetween
(Object[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom, Object[] aFromPathElements) ContentType.withInsertBetween
(Object aToPath, Object aFrom, Object aFromPath) ContentType.withInsertBetween
(Object aToPath, org.refcodes.struct.PathMap<String> aFrom, Object aFromPath) ContentType.withInsertBetween
(String[] aToPathElements, Object aFrom, String[] aFromPathElements) ContentType.withInsertBetween
(String[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom, String[] aFromPathElements) ContentType.withInsertBetween
(String aToPath, Object aFrom, String aFromPath) ContentType.withInsertBetween
(String aToPath, org.refcodes.struct.PathMap<String> aFrom, String aFromPath) ContentType.withInsertBetween
(Collection<?> aToPathElements, Object aFrom, Collection<?> aFromPathElements) ContentType.withInsertBetween
(Collection<?> aToPathElements, org.refcodes.struct.PathMap<String> aFrom, Collection<?> aFromPathElements) ContentType.withInsertFrom
(Object aFrom, Object aFromPath) ContentType.withInsertFrom
(Object aFrom, Object... aFromPathElements) ContentType.withInsertFrom
(Object aFrom, String aFromPath) ContentType.withInsertFrom
(Object aFrom, String... aFromPathElements) ContentType.withInsertFrom
(Object aFrom, Collection<?> aFromPathElements) ContentType.withInsertFrom
(org.refcodes.struct.PathMap<String> aFrom, Object aFromPath) ContentType.withInsertFrom
(org.refcodes.struct.PathMap<String> aFrom, Object... aFromPathElements) ContentType.withInsertFrom
(org.refcodes.struct.PathMap<String> aFrom, String aFromPath) ContentType.withInsertFrom
(org.refcodes.struct.PathMap<String> aFrom, String... aFromPathElements) ContentType.withInsertFrom
(org.refcodes.struct.PathMap<String> aFrom, Collection<?> aFromPathElements) ContentType.withInsertTo
(Object[] aToPathElements, Object aFrom) ContentType.withInsertTo
(Object[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withInsertTo
(Object aToPath, Object aFrom) ContentType.withInsertTo
(Object aToPath, org.refcodes.struct.PathMap<String> aFrom) ContentType.withInsertTo
(String[] aToPathElements, Object aFrom) ContentType.withInsertTo
(String[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withInsertTo
(String aToPath, Object aFrom) ContentType.withInsertTo
(String aToPath, org.refcodes.struct.PathMap<String> aFrom) ContentType.withInsertTo
(Collection<?> aToPathElements, Object aFrom) ContentType.withInsertTo
(Collection<?> aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withMergeBetween
(Object[] aToPathElements, Object aFrom, Object[] aFromPathElements) ContentType.withMergeBetween
(Object[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom, Object[] aFromPathElements) ContentType.withMergeBetween
(Object aToPath, Object aFrom, Object aFromPath) ContentType.withMergeBetween
(Object aToPath, org.refcodes.struct.PathMap<String> aFrom, Object aFromPath) ContentType.withMergeBetween
(String[] aToPathElements, Object aFrom, String[] aFromPathElements) ContentType.withMergeBetween
(String[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom, String[] aFromPathElements) ContentType.withMergeBetween
(String aToPath, Object aFrom, String aFromPath) ContentType.withMergeBetween
(String aToPath, org.refcodes.struct.PathMap<String> aFrom, String aFromPath) ContentType.withMergeBetween
(Collection<?> aToPathElements, Object aFrom, Collection<?> aFromPathElements) ContentType.withMergeBetween
(Collection<?> aToPathElements, org.refcodes.struct.PathMap<String> aFrom, Collection<?> aFromPathElements) ContentType.withMergeFrom
(Object aFrom, Object aFromPath) ContentType.withMergeFrom
(Object aFrom, Object... aFromPathElements) ContentType.withMergeFrom
(Object aFrom, String aFromPath) ContentType.withMergeFrom
(Object aFrom, String... aFromPathElements) ContentType.withMergeFrom
(Object aFrom, Collection<?> aFromPathElements) ContentType.withMergeFrom
(org.refcodes.struct.PathMap<String> aFrom, Object aFromPath) ContentType.withMergeFrom
(org.refcodes.struct.PathMap<String> aFrom, Object... aFromPathElements) ContentType.withMergeFrom
(org.refcodes.struct.PathMap<String> aFrom, String aFromPath) ContentType.withMergeFrom
(org.refcodes.struct.PathMap<String> aFrom, String... aFromPathElements) ContentType.withMergeFrom
(org.refcodes.struct.PathMap<String> aFrom, Collection<?> aFromPathElements) ContentType.withMergeTo
(Object[] aToPathElements, Object aFrom) ContentType.withMergeTo
(Object[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withMergeTo
(Object aToPath, Object aFrom) ContentType.withMergeTo
(Object aToPath, org.refcodes.struct.PathMap<String> aFrom) ContentType.withMergeTo
(String[] aToPathElements, Object aFrom) ContentType.withMergeTo
(String[] aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withMergeTo
(String aToPath, Object aFrom) ContentType.withMergeTo
(String aToPath, org.refcodes.struct.PathMap<String> aFrom) ContentType.withMergeTo
(Collection<?> aToPathElements, Object aFrom) ContentType.withMergeTo
(Collection<?> aToPathElements, org.refcodes.struct.PathMap<String> aFrom) ContentType.withPut
(Collection<?> aPathElements, String aValue) ContentType.withPut
(org.refcodes.struct.Property aProperty) ContentType.withPut
(MediaTypeParameter aParameter, String aValue) With put.ContentType.withPutBoolean
(Object[] aPathElements, Boolean aValue) ContentType.withPutBoolean
(Object aKey, Boolean aValue) ContentType.withPutBoolean
(String[] aPathElements, Boolean aValue) ContentType.withPutBoolean
(String aKey, Boolean aValue) ContentType.withPutBoolean
(Collection<?> aPathElements, Boolean aValue) ContentType.withPutByte
(Object[] aPathElements, Byte aValue) ContentType.withPutByte
(Object aKey, Byte aValue) ContentType.withPutByte
(String[] aPathElements, Byte aValue) ContentType.withPutByte
(String aKey, Byte aValue) ContentType.withPutByte
(Collection<?> aPathElements, Byte aValue) ContentType.withPutChar
(Object[] aPathElements, Character aValue) ContentType.withPutChar
(Object aKey, Character aValue) ContentType.withPutChar
(String[] aPathElements, Character aValue) ContentType.withPutChar
(String aKey, Character aValue) ContentType.withPutChar
(Collection<?> aPathElements, Character aValue) <C> ContentType
ContentType.withPutClass
(Object[] aPathElements, Class<C> aValue) <C> ContentType
ContentType.withPutClass
(Object aKey, Class<C> aValue) <C> ContentType
ContentType.withPutClass
(String[] aPathElements, Class<C> aValue) <C> ContentType
ContentType.withPutClass
(String aKey, Class<C> aValue) <C> ContentType
ContentType.withPutClass
(Collection<?> aPathElements, Class<C> aValue) ContentType.withPutDirAt
(int aIndex, Object aDir) ContentType.withPutDirAt
(int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDirAt
(Object[] aPathElements, int aIndex, Object aDir) ContentType.withPutDirAt
(Object[] aPathElements, int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDirAt
(Object aPath, int aIndex, Object aDir) ContentType.withPutDirAt
(Object aPath, int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDirAt
(String[] aPathElements, int aIndex, Object aDir) ContentType.withPutDirAt
(String[] aPathElements, int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDirAt
(String aPath, int aIndex, Object aDir) ContentType.withPutDirAt
(String aPath, int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDirAt
(Collection<?> aPathElements, int aIndex, Object aDir) ContentType.withPutDirAt
(Collection<?> aPathElements, int aIndex, org.refcodes.struct.PathMap<String> aDir) ContentType.withPutDouble
(Object[] aPathElements, Double aValue) ContentType.withPutDouble
(Object aKey, Double aValue) ContentType.withPutDouble
(String[] aPathElements, Double aValue) ContentType.withPutDouble
(String aKey, Double aValue) ContentType.withPutDouble
(Collection<?> aPathElements, Double aValue) <E extends Enum<E>>
ContentTypeContentType.withPutEnum
(Object[] aPathElements, E aValue) <E extends Enum<E>>
ContentTypeContentType.withPutEnum
(Object aKey, E aValue) <E extends Enum<E>>
ContentTypeContentType.withPutEnum
(String[] aPathElements, E aValue) <E extends Enum<E>>
ContentTypeContentType.withPutEnum
(String aKey, E aValue) <E extends Enum<E>>
ContentTypeContentType.withPutEnum
(Collection<?> aPathElements, E aValue) ContentType.withPutFloat
(Object[] aPathElements, Float aValue) ContentType.withPutFloat
(Object aKey, Float aValue) ContentType.withPutFloat
(String[] aPathElements, Float aValue) ContentType.withPutFloat
(String aKey, Float aValue) ContentType.withPutFloat
(Collection<?> aPathElements, Float aValue) ContentType.withPutInt
(Object[] aPathElements, Integer aValue) ContentType.withPutInt
(Object aKey, Integer aValue) ContentType.withPutInt
(String[] aPathElements, Integer aValue) ContentType.withPutInt
(String aKey, Integer aValue) ContentType.withPutInt
(Collection<?> aPathElements, Integer aValue) ContentType.withPutLong
(Object[] aPathElements, Long aValue) ContentType.withPutLong
(Object aKey, Long aValue) ContentType.withPutLong
(String[] aPathElements, Long aValue) ContentType.withPutLong
(String aKey, Long aValue) ContentType.withPutLong
(Collection<?> aPathElements, Long aValue) ContentType.withPutShort
(Object[] aPathElements, Short aValue) ContentType.withPutShort
(Object aKey, Short aValue) ContentType.withPutShort
(String[] aPathElements, Short aValue) ContentType.withPutShort
(String aKey, Short aValue) ContentType.withPutShort
(Collection<?> aPathElements, Short aValue) ContentType.withPutString
(Object[] aPathElements, String aValue) ContentType.withPutString
(Object aKey, String aValue) ContentType.withPutString
(String[] aPathElements, String aValue) ContentType.withPutString
(String aKey, String aValue) ContentType.withPutString
(Collection<?> aPathElements, String aValue) ContentType.withRemoveFrom
(Object aPath) ContentType.withRemoveFrom
(Object... aPathElements) ContentType.withRemoveFrom
(String aPath) ContentType.withRemoveFrom
(String... aPathElements) ContentType.withRemoveFrom
(Collection<?> aPathElements) ContentType.withRemovePaths
(String... aPathElements) Modifier and TypeMethodDescriptiondefault List<ContentType>
HeaderFields.getAcceptTypes()
Gets the Accept request-Header-FieldHeaderField.ACCEPT
: "...default List<ContentType>
HeaderFields.putAcceptTypes
(List<? extends HttpMediaType> aHttpMediaTypes) Sets the Accept request-Header-FieldHeaderField.ACCEPT
.default List<ContentType>
HeaderFields.putAcceptTypes
(HttpMediaType... aHttpMediaType) Sets the Accept request-Header-FieldHeaderField.ACCEPT
.default List<ContentType>
HeaderFields.removeAcceptTypes()
Removes the Accept request-Header-FieldHeaderField.ACCEPT
: "...Modifier and TypeMethodDescriptiondefault ContentType
ContentTypeAccessor.ContentTypeProperty.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).void
ContentTypeAccessor.ContentTypeMutator.setContentType
(ContentType aContentType) Sets the Content-Type for the Content-Type property.ContentTypeAccessor.ContentTypeBuilder.withContentType
(ContentType aContentType) Sets the Content-Type for the Content-Type property.