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