/** * Get a header block from the SOAP envelope contained within the specified message context's * SOAP subcontext. * * @param messageContext the message context being processed * @param headerName the name of the header block to return * * @return the list of matching header blocks */ @Nonnull public static List<XMLObject> getInboundHeaderBlock( @Nonnull final MessageContext<? extends XMLObject> messageContext, @Nonnull final QName headerName) { final InboundSOAPContext inboundContext = getInboundSOAPContext(messageContext); return getHeaderBlock(messageContext, headerName, inboundContext.getNodeActors(), inboundContext.isFinalDestination()); }