test_class.declarator: mediaTypeHeaderDelegate
test_class.modifier: private
test_class.original_string: private MediaTypeHeaderDelegate mediaTypeHeaderDelegate;
test_class.type: MediaTypeHeaderDelegate
test_class.var_name: mediaTypeHeaderDelegate
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/header/MediaTypeHeaderDelegateTest.java
test_class.identifier: MediaTypeHeaderDelegateTest
test_case.body: @UseDataProvider("forTestToString")
      @Test
      public void testToString(MediaType mediaType, String expectedResult) {
          String header = mediaTypeHeaderDelegate.toString(mediaType);
          assertEquals(expectedResult, header);
      }
test_case.class_method_signature: MediaTypeHeaderDelegateTest.testToString(MediaType mediaType, String expectedResult)
test_case.full_signature: @UseDataProvider("forTestToString") @Test public void testToString(MediaType mediaType, String expectedResult)
test_case.identifier: testToString
test_case.invocations: toString assertEquals
test_case.modifiers: @UseDataProvider("forTestToString") @Test public
test_case.parameters: (MediaType mediaType, String expectedResult)
test_case.return: void
test_case.signature: void testToString(MediaType mediaType, String expectedResult)
focal_class.declarator: SUB_TYPE_SEPARATOR = '/'
focal_class.modifier: private static final
focal_class.original_string: private static final char SUB_TYPE_SEPARATOR = '/';
focal_class.type: char
focal_class.var_name: SUB_TYPE_SEPARATOR
focal_class.declarator: PARAMS_SEPARATOR = ';'
focal_class.modifier: private static final
focal_class.original_string: private static final char PARAMS_SEPARATOR = ';';
focal_class.type: char
focal_class.var_name: PARAMS_SEPARATOR
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/header/MediaTypeHeaderDelegate.java
focal_class.identifier: MediaTypeHeaderDelegate
focal_class.interfaces: implements RuntimeDelegate.HeaderDelegate<MediaType>
focal_class.class_method_signature: MediaTypeHeaderDelegate.fromString(String header)
focal_class.full_signature: @Override public MediaType fromString(String header)
focal_class.identifier: fromString
focal_class.modifiers: @Override public
focal_class.parameters: (String header)
focal_class.return: MediaType
focal_class.signature: MediaType fromString(String header)
focal_class.class_method_signature: MediaTypeHeaderDelegate.toString(MediaType mime)
focal_class.full_signature: @Override public String toString(MediaType mime)
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: (MediaType mime)
focal_class.return: String
focal_class.signature: String toString(MediaType mime)
focal_method.body: @Override
      public String toString(MediaType mime) {
          if (mime == null) {
              throw new IllegalArgumentException();
          }
          StringBuilder sb = new StringBuilder();
          sb.append(mime.getType()).append('/').append(mime.getSubtype());
  
          for (Entry<String, String> entry : mime.getParameters().entrySet()) {
              sb.append(';').append(entry.getKey()).append('=');
              appendWithQuote(sb, entry.getValue());
          }
  
          return sb.toString();
      }
focal_method.class_method_signature: MediaTypeHeaderDelegate.toString(MediaType mime)
focal_method.full_signature: @Override public String toString(MediaType mime)
focal_method.identifier: toString
focal_method.invocations: append append append getType getSubtype entrySet getParameters append append append getKey appendWithQuote getValue toString
focal_method.modifiers: @Override public
focal_method.parameters: (MediaType mime)
focal_method.return: String
focal_method.signature: String toString(MediaType mime)