Class RequestHeaderParser
java.lang.Object
com.aspectran.web.activity.request.RequestHeaderParser
Provides convenient methods to parse the request headers.
- Since:
- 6.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionA singleton list withMediaType.ALL
that is returned fromresolveAcceptContentTypes(com.aspectran.core.adapter.RequestAdapter)
when no specific media types are requested. -
Method Summary
-
Field Details
-
MEDIA_TYPE_ALL_LIST
A singleton list withMediaType.ALL
that is returned fromresolveAcceptContentTypes(com.aspectran.core.adapter.RequestAdapter)
when no specific media types are requested.
-
-
Method Details
-
resolveAcceptContentTypes
@NonNull public static List<MediaType> resolveAcceptContentTypes(@NonNull RequestAdapter requestAdapter) throws HttpMediaTypeNotAcceptableException
-