About 22,600,000 results
Open links in new tab
  1. html - How to send HTTP request in Java? - Stack Overflow

    Sep 1, 2009 · In Java, How to compose an HTTP request message and send it to an HTTP web server?

  2. java - What is reflection and why is it useful? - Stack Overflow

    Sep 1, 2008 · What is reflection, and why is it useful? I'm particularly interested in Java, but I assume the principles are the same in any language.

  3. How can I make a multipart/form-data POST request using Java?

    Is anybody aware of any Java library that allows me to write an HTTP client that can make a multipart/form-data POST request? Background: I want to use the Remote API of Zoho Writer.

  4. Sending HTTP POST Request In Java - Stack Overflow

    Jul 24, 2010 · Sending a POST request is easy in vanilla Java. Starting with a URL, we need t convert it to a URLConnection using url.openConnection();. After that, we need to cast it to a …

  5. HTTP POST using JSON in Java - Stack Overflow

    4 Java 11 standardization of HTTP client API that implements HTTP/2 and Web Socket, and can be found at java.net.HTTP.*:

  6. Sorting a list with stream.sorted () in Java - Stack Overflow

    Java 8 provides different utility api methods to help us sort the streams better. If your list is a list of Integers (or Double, Long, String etc.,) then you can simply sort the list with default comparators …

  7. java - Spring Boot REST API - request timeout? - Stack Overflow

    I have a Spring Boot REST service that sometimes call third party services as a part of a request. I would like to set a timeout on all my resources (let's say 5 seconds), so that if any request ha...

  8. Creating an API in Java for the first time - Stack Overflow

    Dec 19, 2014 · For your first-ever API, that's a recipe for over-engineering and creating something horribly complex. Generally, the initial set of methods and attributes include some awkward features.

  9. using java Stream to get a sum, average, and sort

    Feb 21, 2018 · using java Stream to get a sum, average, and sort Asked 7 years, 9 months ago Modified 3 years ago Viewed 37k times

  10. python - Py4JJavaError: An error occurred while ... - Stack Overflow

    Oct 13, 2019 · Spark runs on Java 17/21, Scala 2.13, Python 3.9+, and R 3.5+ (Deprecated) So if you have multiple versions of Java installed you can set your JAVA_HOME to a specific version: