org.neo4j.server.webadmin.rest
Class MasterInfoService

java.lang.Object
  extended by org.neo4j.server.webadmin.rest.MasterInfoService
All Implemented Interfaces:
org.neo4j.server.webadmin.rest.AdvertisableService

public class MasterInfoService
extends Object
implements org.neo4j.server.webadmin.rest.AdvertisableService


Field Summary
static String BASE_PATH
           
static String GETMASTER_PATH
           
static String ISMASTER_PATH
           
 
Constructor Summary
MasterInfoService(org.neo4j.server.rest.repr.OutputFormat output, org.neo4j.graphdb.GraphDatabaseService db)
           
 
Method Summary
 javax.ws.rs.core.Response discover()
           
 javax.ws.rs.core.Response getMaster()
           
 String getName()
           
 String getServerPath()
           
 javax.ws.rs.core.Response isMaster()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_PATH

public static final String BASE_PATH
See Also:
Constant Field Values

ISMASTER_PATH

public static final String ISMASTER_PATH
See Also:
Constant Field Values

GETMASTER_PATH

public static final String GETMASTER_PATH
See Also:
Constant Field Values
Constructor Detail

MasterInfoService

public MasterInfoService(@Context
                         org.neo4j.server.rest.repr.OutputFormat output,
                         @Context
                         org.neo4j.graphdb.GraphDatabaseService db)
Method Detail

discover

public javax.ws.rs.core.Response discover()
                                   throws org.neo4j.server.rest.repr.BadInputException
Throws:
org.neo4j.server.rest.repr.BadInputException

isMaster

public javax.ws.rs.core.Response isMaster()
                                   throws org.neo4j.server.rest.repr.BadInputException
Throws:
org.neo4j.server.rest.repr.BadInputException

getMaster

public javax.ws.rs.core.Response getMaster()
                                    throws org.neo4j.server.rest.repr.BadInputException
Throws:
org.neo4j.server.rest.repr.BadInputException

getName

public String getName()
Specified by:
getName in interface org.neo4j.server.webadmin.rest.AdvertisableService

getServerPath

public String getServerPath()
Specified by:
getServerPath in interface org.neo4j.server.webadmin.rest.AdvertisableService


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.