Package pt.opensoft.http

Examples of pt.opensoft.http.IHttpConnection


  public ExternalTransaction(String app, String name, String resourceName, long timeout) {
    super(app, name, resourceName, timeout);
  }

  protected InvalidRequest validate(Resource resource, Request request) throws Exception {
    IHttpConnection httpConnection = resource != null ? ((ExternalResource) resource).getHttpConnectionWraper() : null;
    return validate(httpConnection, request);
  }
View Full Code Here


  }

  protected abstract InvalidRequest validate(IHttpConnection httpConnection, Request request) throws Exception;

  protected Response process(Resource resource, Request request) throws Exception {
    IHttpConnection httpConnection = resource != null ? ((ExternalResource) resource).getHttpConnectionWraper() : null;
    return process(httpConnection, request);
  }
View Full Code Here

  }

  protected abstract Response process(IHttpConnection httpConnection, Request request) throws Exception;

  protected Response render(Resource resource, Request request, InvalidRequest invalid) throws Exception {
    IHttpConnection httpConnection = resource != null ? ((ExternalResource) resource).getHttpConnectionWraper() : null;
    return render(httpConnection, request, invalid);
  }
View Full Code Here

TOP

Related Classes of pt.opensoft.http.IHttpConnection

Copyright © 2018 www.massapicom. 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.