public RamlResponse response ( Integer status ) { if ( responses == null ) { responses = new LinkedHashMap <> ( ) ; } RamlResponse response = responses . get ( status ) ; if ( response == null ) { response = new RamlResponse ( ) ; responses . put ( status , response ) ; } return response ; }
Get or create a response using the given status code .