List of usage examples for org.springframework.util MultiValueMap getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.devefx.httpmapper.http.RequestEntity.java
/** * Return the type of the request's body. * @return the request's body type, or {@code null} if not known *///from w ww . java2 s .c o m public Type getType() { if (this.type == null) { MultiValueMap<String, Object> body = getBody(); if (body != null) { this.type = body.getClass(); } } return this.type; }