108109110111112113114115116117118
AcceptList headerList = new AcceptList(headerString) ; if ( myPrefs == null ) { MediaType i = headerList.first() ; if ( i == null ) return defaultMediaType ; return i ; } MediaType i = AcceptList.match(headerList, myPrefs) ;