Associate a request with the code that will convert it to a response