Package com.logviewer.web
Interface LvServletResponse
public interface LvServletResponse
Log-viewer should be compatible with both "javax.servlet.*" and "jakarta.servlet.*" servlets. This interface is
an abstraction containing common methods from "javax.servlet.http.HttpServletResponse" and "jakarta.servlet.http.HttpServletResponse"
- See Also:
-
HttpServletResponseHttpServletResponse
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidreset()voidvoidsendRedirect(String location) voidsetCharacterEncoding(String charset) voidsetContentType(String contentType) voidsetDateHeader(String name, long valueMs) voidvoidsetStatus(int status)
-
Method Details
-
setStatus
void setStatus(int status) -
setHeader
-
setDateHeader
-
setContentType
-
setCharacterEncoding
-
getWriter
- Throws:
IOException
-
getOutputStream
- Throws:
IOException
-
isCommitted
boolean isCommitted() -
reset
void reset() -
sendRedirect
- Throws:
IOException
-
sendError
- Throws:
IOException
-