Interface CommonActions

  • All Known Implementing Classes:
    HeaderParser

    public interface CommonActions
    INTERNAL API
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      scala.Function2<java.lang.String,​java.lang.String,​scala.Option<MediaType>> customMediaTypes()  
      boolean equalsAsciiCaseInsensitive​(java.lang.String str1, java.lang.String str2)
      Returns true if both strings only contain ASCII characters and each character matches case insensitively.
      HttpCharset getCharset​(java.lang.String name)  
      MediaType getMediaType​(java.lang.String mainType, java.lang.String subType, boolean charsetDefined, scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)  
    • Method Detail

      • customMediaTypes

        scala.Function2<java.lang.String,​java.lang.String,​scala.Option<MediaType>> customMediaTypes()
      • equalsAsciiCaseInsensitive

        boolean equalsAsciiCaseInsensitive​(java.lang.String str1,
                                           java.lang.String str2)
        Returns true if both strings only contain ASCII characters and each character matches case insensitively.
        Parameters:
        str1 - (undocumented)
        str2 - (undocumented)
        Returns:
        (undocumented)
      • getCharset

        HttpCharset getCharset​(java.lang.String name)
      • getMediaType

        MediaType getMediaType​(java.lang.String mainType,
                               java.lang.String subType,
                               boolean charsetDefined,
                               scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)