hey, I'm working on a web application that I was given and I'm a little confused about
some of the code in some of the classes. These are some methods in this abstract class. I don't understand
how this post method works if the method it's calling is declared abstract. Could someone please tell me how this works?
public final Representation post(Representation entity, Variant variant) throws ResourceException { prePostAuthorization(entity); if (!authorizeGet()) { return doUnauthenticatedGet(variant); } else { return doAuthenticatedPost(entity, variant); } } protected abstract boolean authorizeGet();
Thanks