0

http://netty.io/4.0/api/io/netty/handler/codec/http/HttpHeaders.html

Netty 4 now has both static methods or instance methods to manipulate headers. For example: HttpHeaders#get and HttpHeaders.getHeader.

As I remember, the static methods have just been added recently. Is that true that from now on I should use the static methods because they are faster, and the instance methods will be deprecated in the future?

Ngoc Dao
  • 1,483
  • 3
  • 18
  • 26

1 Answers1

1

The static methods are there for a long time. So it not matter what you use.

Norman Maurer
  • 22,605
  • 2
  • 31
  • 30