Skip to content

Stream support #35

@Hugolarson

Description

@Hugolarson

Hi,

Thank you for this library.
Have a question how to accomplish this with it.

I dont want to write to ByteArrayOutputStream and then send it.

URL url = new URL(urlStr);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();

ObjectOutputStream objOut = new ObjectOutputStream(new BufferedOutputStream(urlConnection.getOutputStream()));
objOut.writeObject("Hello");

objOut.flush();
objOut.close();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions