public SofaResourceFactory getResource() {
        return (SofaResourceFactory) super.resource;
    }
SofaResourceMethodInvoker base on ResourceMethodInvoker.

@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
@see ResourceMethodInvoker
remoting/remoting-resteasy/src/main/java/com/alipay/sofa/rpc/server/rest/SofaResourceMethodInvoker.java