Class ResteasyEntityPartBuilder

java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.ResteasyEntityPartBuilder
All Implemented Interfaces:
jakarta.ws.rs.core.EntityPart.Builder

public class ResteasyEntityPartBuilder extends Object implements jakarta.ws.rs.core.EntityPart.Builder
An implementation of the EntityPart.Builder.

This is not intended for direct usage. Use the EntityPart.withName(String) instead.

Author:
James R. Perkins
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new builder with the part name.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.EntityPart
     
    jakarta.ws.rs.core.EntityPart.Builder
     
    jakarta.ws.rs.core.EntityPart.Builder
    content(Object content)
     
    <T> jakarta.ws.rs.core.EntityPart.Builder
    content(T content, jakarta.ws.rs.core.GenericType<T> type)
     
    <T> jakarta.ws.rs.core.EntityPart.Builder
    content(T content, Class<? extends T> type)
     
    jakarta.ws.rs.core.EntityPart.Builder
    fileName(String fileName)
     
    jakarta.ws.rs.core.EntityPart.Builder
    header(String headerName, String... headerValues)
     
    jakarta.ws.rs.core.EntityPart.Builder
    headers(jakarta.ws.rs.core.MultivaluedMap<String,String> newHeaders)
     
    jakarta.ws.rs.core.EntityPart.Builder
    mediaType(jakarta.ws.rs.core.MediaType mediaType)
     
    jakarta.ws.rs.core.EntityPart.Builder
    mediaType(String mediaTypeString)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.ws.rs.core.EntityPart.Builder

    content