You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2025/11/01 19:33:57 UTC
(cxf) branch main updated: Fix small issue with EntityPartBuilderImpl for streaming content
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new 9876e33abf2 Fix small issue with EntityPartBuilderImpl for streaming content
9876e33abf2 is described below
commit 9876e33abf2a90468fcfcbd8975d567683802291
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Sat Nov 1 15:33:37 2025 -0400
Fix small issue with EntityPartBuilderImpl for streaming content
---
.../src/main/java/org/apache/cxf/jaxrs/impl/EntityPartBuilderImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/EntityPartBuilderImpl.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/EntityPartBuilderImpl.java
index e95c22953b2..6d4a0e00fe5 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/EntityPartBuilderImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/EntityPartBuilderImpl.java
@@ -87,6 +87,7 @@ public class EntityPartBuilderImpl implements EntityPart.Builder {
@Override
public Builder content(InputStream in) throws IllegalArgumentException {
this.content = in;
+ this.type = InputStream.class;
return this;
}