- java.lang.Object
-
- io.helidon.common.http.ReadOnlyParameters
-
- io.helidon.media.multipart.ReadableBodyPartHeaders
-
- All Implemented Interfaces:
Headers,Parameters,BodyPartHeaders
public final class ReadableBodyPartHeaders extends ReadOnlyParameters implements BodyPartHeaders
Readable body part headers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReadableBodyPartHeaders.BuilderBuilder class to createReadableBodyPartHeadersinstances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadableBodyPartHeaders.Builderbuilder()Create a new builder instance.ContentDispositioncontentDisposition()Get theContent-Dispositionheader.MediaTypecontentType()Get theContent-Typeheader.static ReadableBodyPartHeaderscreate()Create a new instance ofReadableBodyPartHeaders.-
Methods inherited from class io.helidon.common.http.ReadOnlyParameters
add, add, addAll, all, computeIfAbsent, computeSingleIfAbsent, empty, first, 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 io.helidon.common.http.Parameters
add, add, addAll, computeIfAbsent, computeSingleIfAbsent, first, put, put, putAll, putIfAbsent, putIfAbsent, remove, toMap
-
-
-
-
Method Detail
-
contentType
public MediaType contentType()
Description copied from interface:BodyPartHeadersGet theContent-Typeheader. If theContent-Typeheader is not present, the default value is retrieved usingBodyPartHeaders.defaultContentType().- Specified by:
contentTypein interfaceBodyPartHeaders- Returns:
- MediaType, never
null
-
contentDisposition
public ContentDisposition contentDisposition()
Description copied from interface:BodyPartHeadersGet theContent-Dispositionheader.- Specified by:
contentDispositionin interfaceBodyPartHeaders- Returns:
- ContentDisposition, never
null
-
builder
public static ReadableBodyPartHeaders.Builder builder()
Create a new builder instance.- Returns:
- Builder
-
create
public static ReadableBodyPartHeaders create()
Create a new instance ofReadableBodyPartHeaders.- Returns:
- ReadableBodyPartHeaders
-
-