I want create logic like Spring DispatcherServlet
.
I have one method recevie Wrapper request.
public void recevieWrapper(Wrapper wrapper){}
And after that I need redirect internal requests from wrapper
to hadlers methods
public void firstInternalrequest(FirstInternalRequest firstInternalRequest){
}
public void secondInternalrequest(SecondInternalRequest secondInternalRequest){
}
public void lastInternalrequest(LastInternalRequest lastInternalRequest){
}
What is the name of this approach? What should I read? I can not even google the correct question. I think it's some kind of design pattern?
Aucun commentaire:
Enregistrer un commentaire