Package io.teknek.intravert.service

Source Code of io.teknek.intravert.service.DefaultIntravertService

package io.teknek.intravert.service;

import io.teknek.intravert.model.Request;
import io.teknek.intravert.model.Response;

public class DefaultIntravertService implements IntravertService {

  private RequestProcessor requestProcessor = new DefaultRequestProcessor();
  private ApplicationContext applicationContext = new ApplicationContext();
 
  @Override
  public Response doRequest(Request request) {
    Response response = new Response();
    RequestContext requestContext = new RequestContext();
    requestProcessor.process(request, response, requestContext, applicationContext);
    return response;
  }

}
TOP

Related Classes of io.teknek.intravert.service.DefaultIntravertService

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.