public interface WebdavResponse
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
String |
encodeRedirectURL(String url) |
OutputStream |
getOutputStream() |
Writer |
getWriter() |
void |
sendError(WebdavStatus status) |
void |
sendError(WebdavStatus status,
String message) |
void |
sendRedirect(String redirectUrl) |
void |
setCharacterEncoding(String encoding) |
void |
setContentLength(int length) |
void |
setContentType(String type) |
void |
setDateHeader(String name,
long date) |
void |
setHeader(String name,
String value) |
void |
setStatus(WebdavStatus status) |
void setStatus(WebdavStatus status)
Writer getWriter() throws IOException
IOExceptionvoid sendRedirect(String redirectUrl) throws IOException
IOExceptionvoid sendError(WebdavStatus status) throws IOException
IOExceptionvoid sendError(WebdavStatus status, String message) throws IOException
IOExceptionvoid setDateHeader(String name, long date)
void setContentType(String type)
void setContentLength(int length)
OutputStream getOutputStream() throws IOException
IOExceptionvoid setCharacterEncoding(String encoding)
Copyright © 2014. All Rights Reserved.