For example, I want to get the authorization header from the request. What's the difference between the following two calls except the return type?
import org.apache.catalina.connector.Request;
request.getCoyoteRequest().getMimeHeaders().getValue("Authorization");
request.getHeader("Authorization");
Thanks!
There is no difference between those two calls (except the return type).