Package com.gi.server.rest.html

Examples of com.gi.server.rest.html.AdministratorHTML


        restBody += "<b>Stop service '" + serviceName
            + "' failed !</b>";
      }
    }

    AdministratorHTML html = new AdministratorHTML();
    html.setContextRoot(contextRoot);
    html.setTitle("Stop");
    html.setHome(rootURI);
    html.setCatalog(" &gt; Stop");
    html.setHeader("Stop");
    html.setRestBody(restBody);
    result = html.toString();

    return result;
  }
View Full Code Here


            + "clear'>Clear</a>";
        restBody += "&nbsp;&nbsp;<a href='" + thisURI
            + "reconfig'>Reload Configurations</a>";
      }

      AdministratorHTML html = new AdministratorHTML();
      html.setContextRoot(contextRoot);
      html.setTitle("Administrator Home");
      html.setHome(thisURI);
      html.setCatalog("");
      html.setHeader("Home");
      html.setRestBody(restBody);
      result = html.toString();
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return result;
View Full Code Here

      } else {
        restBody += "<b>Reload configurations failed !</b>";
      }
    }

    AdministratorHTML html = new AdministratorHTML();
    html.setContextRoot(contextRoot);
    html.setTitle("Reload Configurations");
    html.setHome(rootURI);
    html.setCatalog(" &gt; Reload Configurations");
    html.setHeader("Reload Configurations");
    html.setRestBody(restBody);
    result = html.toString();

    return result;
  }
View Full Code Here

        restBody += "<b>Start service '" + serviceName
            + "' failed !</b>";
      }
    }

    AdministratorHTML html = new AdministratorHTML();
    html.setContextRoot(contextRoot);
    html.setTitle("Start");
    html.setHome(rootURI);
    html.setCatalog(" &gt; Start");
    html.setHeader("Start");
    html.setRestBody(restBody);
    result = html.toString();

    return result;
  }
View Full Code Here

      } else {
        restBody += "<b>Reload service '" + serviceName + "' failed !</b>";
      }
    }

    AdministratorHTML html = new AdministratorHTML();
    html.setContextRoot(contextRoot);
    html.setTitle("Reload");
    html.setHome(rootURI);
    html.setCatalog(" &gt; Reload");
    html.setHeader("Reload");
    html.setRestBody(restBody);   
    result = html.toString();

    return result;
  }
View Full Code Here

      restBody = restBody.replace("${POST_URI}", thisURI);
    } else {
      restBody += "<b>Succeed clear not used resource !</b>";
    }

    AdministratorHTML html = new AdministratorHTML();
    html.setContextRoot(contextRoot);
    html.setTitle("Clear");
    html.setHome(rootURI);
    html.setCatalog(" &gt; Clear");
    html.setHeader("Clear");
    html.setRestBody(restBody);   
    result = html.toString();

    return result;
  }
View Full Code Here

TOP

Related Classes of com.gi.server.rest.html.AdministratorHTML

Copyright © 2018 www.massapicom. 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.