public interface URLStreamProvider
InputStream readFrom(String spec, String requestMethod, String params, Map<String,String> headers) throws IOException
spec - the String to parse as a URLrequestMethod - the HTTP method (GET,POST,PUT,etc.).params - the body of the request; may be nullheaders - the headers of the request; may be nullIOException - if an error occurred connecting to the serverCopyright © 2014. All rights reserved.