public DbLicense getLicense ( final String name ) { final DbLicense license = repoHandler . getLicense ( name ) ; if ( license == null ) { throw new WebApplicationException ( Response . status ( Response . Status . NOT_FOUND ) . entity ( "License " + name + " does not exist." ) . build ( ) ) ; } return license ; }
Return a html view that contains the targeted license