public final class ProtocolUtils extends Object
Constructor and Description |
---|
ProtocolUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
detectJsonEncoding(InputStream inputStream)
Reads inputStream (from request) and detects incoming JSON encoding.
|
public static String detectJsonEncoding(InputStream inputStream) throws IOException
inputStream
- Input Stream from requestIOException
- Exception while parsing JSONCopyright © 2017 Kurento. All rights reserved.