Class HttpContentType

java.lang.Object
com.opensymphony.module.sitemesh.filter.HttpContentType

public class HttpContentType extends Object
Extracts the type and encoding from an HTTP Content-Type header.
Author:
Scott Farquhar
  • Field Details

    • type

      private final String type
    • encoding

      private final String encoding
  • Constructor Details

    • HttpContentType

      public HttpContentType(String fullValue)
  • Method Details

    • extractContentTypeValue

      private String extractContentTypeValue(String type, int startIndex)
    • getType

      public String getType()
    • getEncoding

      public String getEncoding()