--- url: "https://martinfowler.com/bliki/HeaderInterface.html" titulek: "Header Interface" h1: "Header Interface" popis: "a bliki entry for Header Interface" jazyk: "" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 23:46:34" znaku: 492 slov: 68 kodovani: "utf-8" sha256: "b3fc85a7adda113222388e2faf0be7a7beedda3fd4d2d8327b692c7bb66e8c80" --- # [Header Interface](HeaderInterface.html) 21 December 2006 [Martin Fowler](/) [API design](/tags/API%20design.html) A header interface is an explicit interface that mimics the implicit public interface of a class. Essentially you take all the public methods of a class and declare them in an interface. You can then supply an alternative implementation for the class. This is the opposite of a [RoleInterface](/bliki/RoleInterface.html) - I discuss more details and the pros and cons there.