- All Known Subinterfaces:
ErrorWebRoute<A>
,WebRoute<A>
,WebSocketRoute<A>
public interface ContentAware
Specifies criteria required to match requests or resources based on a media type.
- Since:
- 1.3
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionReturns a media range defining the content types as defined by RFC 7231 Section 5.3.2.
-
Method Details
-
getConsume
String getConsume()Returns a media range defining the content types as defined by RFC 7231 Section 5.3.2.
- Returns:
- a media range or null
-