Top "Apache-commons" questions

The Apache Commons project provides reusable, open source Java software components.

How can I get an http response body as a string in Java?

I know there used to be a way to get it with apache commons as documented here: http://hc.apache.…

java apache-httpclient-4.x apache-commons
What is the best Java email address validation method?

What are the good email address validation libraries for Java? Are there any alternatives to commons validator?

validation email apache-commons java
Http Basic Authentication in Java using HttpClient?

I am trying to mimic the functionality of this curl command in Java: curl --basic --user username:password -d "" http://…

java http apache-commons
How can I convert byte size into a human-readable format in Java?

How can I convert byte size into a human-readable format in Java? Like 1024 should become "1 Kb" and 1024*1024 should become "1 Mb". …

java formatting apache-commons
What does the arrow operator, '->', do in Java?

While hunting through some code I came across the arrow operator, what exactly does it do? I thought Java did …

java intellij-idea apache-commons java-8 apache-commons-collection
How to Serialize a list in java?

I would like to deep clone a List. for that we are having a method // apache commons method. This object …

java serialization collections apache-commons
How can I generate a list or array of sequential integers in Java?

Is there a short and sweet way to generate a List<Integer>, or perhaps an Integer[] or int[], …

java arrays collections guava apache-commons
Logging framework incompatibility

I'm building a small Java app and hoping to use logback for logging. My app has a dependency on an …

java compatibility apache-commons slf4j logback
Bi-directional Map in Java?

I have a simple integer-to-string mapping in Java, but I need to be able to easily retrieve string from integer, …

java map guava apache-commons
NoClassDefFoundError: org/apache/commons/lang3/StringUtils

I'm trying to run the sample project with this library and I get the following error: Exception in thread "main" …

java apache maven dependencies apache-commons