Show
Ignore:
Timestamp:
02/27/10 20:48:19 (6 months ago)
Author:
martijn
Message:

Added contents page, to get a list of available organisms. Fixes #37

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/org.bridgedb.server/src/org/bridgedb/server/IDMapperService.java

    r315 r322  
    202202        public static final String URL_CONFIG = "/config"; 
    203203 
     204 
     205        /** 
     206         * URL pattern for getting a list of species loaded in the server.<BR> 
     207         * <code> 
     208         * /contents 
     209         * </code> 
     210         * @see Contents#getContents() 
     211         */ 
     212        public static final String URL_CONTENTS = "/contents"; 
     213 
    204214        /** 
    205215         * URL pattern for getting backpage HTML.<BR> 
     
    231241 
    232242                router.attach(URL_CONFIG, Config.class); 
     243                router.attach(URL_CONTENTS, Contents.class); 
    233244 
    234245                /* IDMapper methods */