Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readString
public static String readString(InputStream in)
throws IOException
- Parameters:
in
-
- Returns:
-
- Throws:
IOException
readString
public static String readString(InputStream in,
MediaType mediaType)
throws IOException
- Parameters:
in
-
- Returns:
-
- Throws:
IOException
getAvailableMediaTypes
public static List<MediaType> getAvailableMediaTypes(String[] mediaTypes)
- Parameters:
mediaTypes
-
- Returns:
getAvailableVariants
public static List<Variant> getAvailableVariants(String[] mediaTypes)
- Parameters:
mediaTypes
-
- Returns:
getAvailableVariants
public static List<Variant> getAvailableVariants(List<MediaType> mediaTypes)
- Parameters:
mediaTypes
-
- Returns:
writeTo
public static void writeTo(InputStream in,
OutputStream out)
throws IOException
- Parameters:
in
- out
-
- Throws:
IOException
Copyright © 2012. All Rights Reserved.