java.lang.Object
com.aoapps.encoding.taglib.RequestEncodingContext
Since the parent tag is not available from included JSP pages, the current
content type and validator is maintained as a request attribute.
These are updated for each of the nested tag levels.
- Author:
- AO Industries, Inc.
-
Field Summary
Modifier and TypeFieldDescriptionfinal MediaType
The content type that is currently be written.static final RequestEncodingContext
A context that performs no validation and discards all output.final ValidMediaInput
The validator that is ensuring the data being written is valid for the current outputType. -
Constructor Summary
ConstructorDescriptionRequestEncodingContext
(MediaType contentType, ValidMediaInput validMediaInput) -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEncodingContext
getCurrentContext
(ServletRequest request) static void
setCurrentContext
(ServletRequest request, RequestEncodingContext context)
-
Field Details
-
DISCARD
A context that performs no validation and discards all output. -
contentType
The content type that is currently be written. -
validMediaInput
The validator that is ensuring the data being written is valid for the current outputType.
-
-
Constructor Details
-
RequestEncodingContext
-
-
Method Details
-
getCurrentContext
-
setCurrentContext
-