public class BinaryServletWrapper extends Object implements IServletWrapper
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
create a static logger.
|
Constructor and Description |
---|
BinaryServletWrapper() |
Modifier and Type | Method and 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) |
protected static Logger logger
public void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
processRequest
in interface IServletWrapper
javax.servlet.ServletException
public byte[] getData()
public void setData(byte[] data)
public String getContentType()
public void setContentType(String contentType)
Copyright © 2012-2018. All Rights Reserved.