@ScannerSide @ServerSide @ComputeEngineSide public class UriReader extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UriReader.SchemeProcessor |
Constructor and Description |
---|
UriReader(UriReader.SchemeProcessor[] processors) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description(java.net.URI uri)
Returns a detailed description of the given uri.
|
byte[] |
readBytes(java.net.URI uri)
Reads all bytes from uri.
|
java.lang.String |
readString(java.net.URI uri,
java.nio.charset.Charset charset)
Reads all characters from uri, using the given character set.
|
public UriReader(UriReader.SchemeProcessor[] processors)
public byte[] readBytes(java.net.URI uri)
public java.lang.String readString(java.net.URI uri, java.nio.charset.Charset charset)
public java.lang.String description(java.net.URI uri)