Package com.linkedin.restli.tools.snapshot.check

Source Code of com.linkedin.restli.tools.snapshot.check.RestSpec

package com.linkedin.restli.tools.snapshot.check;


import com.linkedin.data.DataMap;
import com.linkedin.data.schema.NamedDataSchema;

import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;


/**
* @author Keren Jin
*/
public class RestSpec extends AbstractSnapshot
{
  public RestSpec(InputStream inputStream) throws IOException
  {
    DataMap data = _dataCodec.readMap(inputStream);
    _models = new HashMap<String, NamedDataSchema>();
    _resourceSchema = parseSchema(data);
  }
}
TOP

Related Classes of com.linkedin.restli.tools.snapshot.check.RestSpec

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.