Package com.rexsl.page

Examples of com.rexsl.page.PageBuilder


     * @return The JAX-RS response
     */
    @GET
    @Path("/")
    public Response get() {
        return new PageBuilder()
            .stylesheet("/xsl/error.xsl")
            .build(CommonPage.class)
            .init(this)
            .render()
            .status(HttpURLConnection.HTTP_NOT_FOUND)
View Full Code Here


     * @throws IOException If some IO problem inside
     */
    @GET
    @Path("/")
    public Response index() throws IOException {
        return new PageBuilder()
            .stylesheet("/xsl/index.xsl")
            .build(CommonPage.class)
            .init(this)
            .append(JaxbGroup.build(this.domains(), "domains"))
            .link(new Link("add", "/add"))
View Full Code Here

TOP

Related Classes of com.rexsl.page.PageBuilder

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.