Class RequestEncodingContext

java.lang.Object
com.aoapps.encoding.taglib.RequestEncodingContext

public class RequestEncodingContext extends Object
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 Details

    • DISCARD

      public static final RequestEncodingContext DISCARD
      A context that performs no validation and discards all output.
    • contentType

      public final MediaType contentType
      The content type that is currently be written.
    • validMediaInput

      public final ValidMediaInput validMediaInput
      The validator that is ensuring the data being written is valid for the current outputType.
  • Constructor Details

  • Method Details