Package com.exedio.cops
Class BodySender
- java.lang.Object
-
- com.exedio.cops.BodySender
-
public final class BodySender extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
send(HttpServletResponse response, byte[] body)
static void
send(HttpServletResponse response, StringBuilder body, String encoding)
Deprecated.Usesend(HttpServletResponse,StringBuilder,Charset)
insteadstatic void
send(HttpServletResponse response, StringBuilder body, Charset charset)
-
-
-
Method Detail
-
send
public static void send(HttpServletResponse response, StringBuilder body, Charset charset) throws IOException
- Throws:
IOException
-
send
@Deprecated public static void send(HttpServletResponse response, StringBuilder body, String encoding) throws IOException
Deprecated.Usesend(HttpServletResponse,StringBuilder,Charset)
instead- Throws:
IOException
-
send
public static void send(HttpServletResponse response, byte[] body) throws IOException
- Throws:
IOException
-
-