http-resource

create the resource class.