You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "sigurd-cp (via GitHub)" <gi...@apache.org> on 2026/01/15 11:25:47 UTC

[I] Pekko HTTP Java API: Working with FormData misses getter [pekko]

sigurd-cp opened a new issue, #2626:
URL: https://github.com/apache/pekko/issues/2626

   Hey guys,
   
   I' working with the Java API von Pekko Http (1.4)
   
   import org.apache.pekko.http.javadsl.model.FormData;
   
   With `Unmarshaller.entityToWwwUrlEncodedFormData()` I get the FormData but I no option to access the fields.
   
   My workaround right now is based on reflection:
   
       final Field field = formatData.getClass().getDeclaredField("fields");
       field.setAccessible(true);
       final Query query = (Query) field.get(formatData);
   
   Getter would be really nice :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org