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
  • Constructor Details

    • HttpContentType

      public HttpContentType(String fullValue)
      Instantiates a new http content type.
      Parameters:
      fullValue - the full value
  • Method Details

    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • getEncoding

      public String getEncoding()
      Gets the encoding.
      Returns:
      the encoding