java.lang.Object
io.helidon.common.http.ReadOnlyParameters
io.helidon.common.http.ReadOnlyHeaders
io.helidon.media.multipart.ReadableBodyPartHeaders
- All Implemented Interfaces:
Headers
,Parameters
,BodyPartHeaders
,Iterable<Map.Entry<String,
List<String>>>
Readable body part headers.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class to createReadableBodyPartHeaders
instances. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a new builder instance.Get theContent-Disposition
header.Get theContent-Type
header.static ReadableBodyPartHeaders
create()
Create a new instance ofReadableBodyPartHeaders
.Methods inherited from class io.helidon.common.http.ReadOnlyHeaders
create, create, create, empty, emptyMap, emptyMapForCopy
Methods inherited from class io.helidon.common.http.ReadOnlyParameters
add, add, addAll, all, computeIfAbsent, computeSingleIfAbsent, first, iterator, put, put, putAll, putIfAbsent, putIfAbsent, remove, toMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.media.multipart.BodyPartHeaders
defaultContentType
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface io.helidon.common.http.Parameters
add, add, addAll, computeIfAbsent, computeSingleIfAbsent, first, iterator, put, put, putAll, putIfAbsent, putIfAbsent, remove, toMap
-
Method Details
-
contentType
Description copied from interface:BodyPartHeaders
Get theContent-Type
header. If theContent-Type
header is not present, the default value is retrieved usingBodyPartHeaders.defaultContentType()
.- Specified by:
contentType
in interfaceBodyPartHeaders
- Returns:
- MediaType, never
null
-
contentDisposition
Description copied from interface:BodyPartHeaders
Get theContent-Disposition
header.- Specified by:
contentDisposition
in interfaceBodyPartHeaders
- Returns:
- ContentDisposition, never
null
-
builder
Create a new builder instance.- Returns:
- Builder
-
create
Create a new instance ofReadableBodyPartHeaders
.- Returns:
- ReadableBodyPartHeaders
-