Class BinaryServletWrapper
- java.lang.Object
-
- org.javlo.servlet.status.servletwrapper.BinaryServletWrapper
-
- All Implemented Interfaces:
IServletWrapper
public class BinaryServletWrapper extends Object implements IServletWrapper
-
-
Constructor Summary
Constructors Constructor Description BinaryServletWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
byte[]
getData()
void
processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
setContentType(String contentType)
void
setData(byte[] data)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
processRequest
public void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
- Specified by:
processRequest
in interfaceIServletWrapper
- Throws:
javax.servlet.ServletException
-
getData
public byte[] getData()
-
setData
public void setData(byte[] data)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
-