applications.webServer.httpPacketUtils
Class HttpResponseFactory


public class HttpResponseFactory


Method Summary
 static HttpResponsecreateExpiredOkResponse(String htmlBody)
           
 static HttpResponsecreateGetFileResponseWithoutBody(String contentType, int fileLength)
           
 static HttpResponsecreateNotFoundResponse()
           
 static HttpResponsecreateOkResponse(String htmlBody)
           

Method Detail

createExpiredOkResponse

public static HttpResponse createExpiredOkResponse(String htmlBody)

createGetFileResponseWithoutBody

public static HttpResponse createGetFileResponseWithoutBody(String contentType, int fileLength)

createNotFoundResponse

public static HttpResponse createNotFoundResponse()

createOkResponse

public static HttpResponse createOkResponse(String htmlBody)