T
- The type contained in the publisherP
- The publisherpublic static final class MultipartBodyBuilder.PublisherEntity<T,P extends <any>> extends HttpEntity<P>
HttpEntity
for containing Publisher
s as body.
Exposes the type contained in the publisher through getResolvableType()
.Modifier and Type | Field and Description |
---|---|
private ResolvableType |
resolvableType |
EMPTY
Constructor and Description |
---|
PublisherEntity(P publisher,
ResolvableType resolvableType,
MultiValueMap<java.lang.String,java.lang.String> headers) |
Modifier and Type | Method and Description |
---|---|
ResolvableType |
getResolvableType()
Return the resolvable type for this entry.
|
equals, getBody, getHeaders, hasBody, hashCode, toString
private final ResolvableType resolvableType
PublisherEntity(P publisher, ResolvableType resolvableType, @Nullable MultiValueMap<java.lang.String,java.lang.String> headers)
public ResolvableType getResolvableType()