A paradigm for peptide vaccine delivery using viral epitopes encapsulated in degradable polymer hydrogel capsules.