The Dirichlet problem in a class of generalized weighted spaces (submited)