Package org.neo4j.webadmin.domain

Examples of org.neo4j.webadmin.domain.ServerRootRepresentation


    @Produces( MediaType.APPLICATION_JSON )
    public Response getServiceDefinition( @Context UriInfo uriInfo )
    {
        Mode serverMode = Mode.EMBEDDED;

        String entity = JsonRenderers.DEFAULT.render( new ServerRootRepresentation(
                uriInfo.getBaseUri(), serverMode ) );

        return addHeaders(
                Response.ok( entity, JsonRenderers.DEFAULT.getMediaType() ) ).build();
    }
View Full Code Here

TOP

Related Classes of org.neo4j.webadmin.domain.ServerRootRepresentation

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.