package Ġnet . d ank ito . bank ing . bank finder . rest Ċ Ċ import Ġnet . d ank ito . bank ing . bank finder . Bank Info Ċ import Ġnet . d ank ito . bank ing . bank finder . InMemory Bank Finder Ċ import Ġorg . jboss . rest easy . annotations . jax rs . Path Param Ċ import Ġjavax . ws . rs . GET Ċ import Ġjavax . ws . rs . Path Ċ import Ġjavax . ws . rs . Produces Ċ import Ġjavax . ws . rs . core . MediaType ĊĊ Ċ @ Path ("/ bank finder ") Ċ class ĠBank Finder Resource Ġ{ ĊĊĠĠĠ Ġprotected Ġvar Ġbank Finder Ġ= ĠIn Memory Bank Finder () ĊĊĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ JSON ) ĊĠĠĠ Ġ@ Path ("{ query }") ĊĠĠĠ Ġfun Ġfind Bank (@ Path Param Ġquery : ĠString ): ĠList < Bank Info > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġbank Finder . find Bank ByName Bank Code Or City ( query ) ĊĠĠĠ Ġ} Ċ Ċ }