Package javax.servlet.sip

Examples of javax.servlet.sip.SipServletResponse.addHeader()


    private void sendErrorResponse(SipServletRequestImpl request, int statusCode, String msg) throws IOException {
        SipServletResponse resp = request.createResponse(statusCode);
        if (msg != null) {
            resp.setStatus(statusCode, msg);
            resp.addHeader("Error-Info", msg);
        }
        resp.send();
    }

    private void sendRedirect(SipServletRequestImpl request) throws IOException {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.