示例#1
0
文件: OCSSW.java 项目: mg1989/seadas
  public static void retrieveServerSharedDirName() {

    OCSSWClient ocsswClient = new OCSSWClient();
    WebTarget target = ocsswClient.getOcsswWebTarget();
    setServerSharedDirName(
        target.path("file").path("test").request(MediaType.TEXT_PLAIN).get(String.class));
  }
示例#2
0
文件: OCSSW.java 项目: mg1989/seadas
  public static void createJobId() {

    OCSSWClient ocsswClient = new OCSSWClient();
    WebTarget target = ocsswClient.getOcsswWebTarget();
    jobId = target.path("jobs").path("newJobId").request(MediaType.TEXT_PLAIN).get(String.class);
  }