Uses of Interface
jakarta.ws.rs.core.EntityPart.Builder
Package
Description
Low-level interfaces and annotations used to create RESTful service resources.
APIs that provide extensions to the types supported by the JAX-RS API.
-
Uses of EntityPart.Builder in jakarta.ws.rs.core
Modifier and TypeMethodDescriptionEntityPart.Builder.content
(InputStream content) Sets the content for this part.default EntityPart.Builder
Sets the content for this part.default EntityPart.Builder
EntityPart.Builder.content
(String fileName, InputStream content) Convenience method, equivalent to callingfileName(fileName).content(content)
.EntityPart.Builder.content
(T content, GenericType<T> type) Sets the content for this part.Sets the content for this part.Sets the file name for this part.Adds a new header or replaces a previously added header and sets the header value(s).EntityPart.Builder.headers
(MultivaluedMap<String, String> newHeaders) Adds new headers or replaces previously added headers.Sets the media type for the EntityPart.Convenience method for setting the media type for the EntityPart.static EntityPart.Builder
EntityPart.withFileName
(String partAndFileName) Creates a newEntityPart.Builder
instance that sets the partname
andfileName
to the passed inpartAndFileName
value.static EntityPart.Builder
Creates a newEntityPart.Builder
instance. -
Uses of EntityPart.Builder in jakarta.ws.rs.ext
Modifier and TypeMethodDescriptionabstract EntityPart.Builder
RuntimeDelegate.createEntityPartBuilder
(String partName) Create a new instance of aEntityPart.Builder
.