public class ServletFileSender extends Object
Constructor and Description |
---|
ServletFileSender(IRequest request,
StResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
sendAssetResponse(File file) |
void |
sendAssetResponse(InputStream stream,
long modifyTime,
long contentLength,
String fullPath) |
void |
sendContentResponse(String content,
long modifyTime,
String fullPath) |
void |
sendContentResponse(String content,
String fullPath) |
void |
sendResource(URL url,
String path) |
public ServletFileSender(IRequest request, StResponse response)
public void sendContentResponse(String content, String fullPath)
public void sendContentResponse(String content, long modifyTime, String fullPath)
public void sendResource(URL url, String path)
public void sendAssetResponse(File file)
public void sendAssetResponse(InputStream stream, long modifyTime, long contentLength, String fullPath)
Copyright © 2016. All rights reserved.