@ SneakyThrows public BaseHttpServletRequestXMLMessageDecoder getInstance ( final HttpMethod method ) { val decoder = get ( method ) ; return ( BaseHttpServletRequestXMLMessageDecoder ) BeanUtils . cloneBean ( decoder ) ; }
Gets a cloned instance of the decoder . Decoders are initialized once at configuration and then re - created on demand so they can initialized via OpenSAML again for new incoming requests .