Package net.sf.sahi.response

Examples of net.sf.sahi.response.HttpModifiedResponse


  }

   
  public HttpResponse mockMe(HttpRequest request){
    HttpResponse response = new SimpleHttpResponse("<div>Hi there</div>");
    StreamingHttpResponse response2 = new HttpModifiedResponse(response, request.isSSL(), request.fileExtension());
    response2.addFilter(new ChunkedFilter());
    return response2;
 
View Full Code Here

TOP

Related Classes of net.sf.sahi.response.HttpModifiedResponse

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.