Uses of Interface
jakarta.ws.rs.core.EntityPart.Builder
Packages that use 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
Methods in jakarta.ws.rs.core that return EntityPart.BuilderModifier and TypeMethodDescriptionEntityPart.Builder.content(InputStream content) Sets the content for this part.default EntityPart.BuilderSets the content for this part.default EntityPart.BuilderEntityPart.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.BuilderEntityPart.withFileName(String partAndFileName) Creates a newEntityPart.Builderinstance that sets the partnameandfileNameto the passed inpartAndFileNamevalue.static EntityPart.BuilderCreates a newEntityPart.Builderinstance. -
Uses of EntityPart.Builder in jakarta.ws.rs.ext
Methods in jakarta.ws.rs.ext that return EntityPart.BuilderModifier and TypeMethodDescriptionabstract EntityPart.BuilderRuntimeDelegate.createEntityPartBuilder(String partName) Create a new instance of aEntityPart.Builder.