}
if (toHeader != null) {
URIImpl toUriImpl = (URIImpl) toHeader.getURI();
if (toUriImpl != null) {
bekey = toUriImpl.decodeBeKey();
}
if (bekey != null) {
if (logger.isLoggable(Level.FINER)) {
logger.log(Level.FINER, "bekey: " + bekey
+ " was found in the To-header");