javax.sip.message.Request.setContent()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(299)

本文整理了Java中javax.sip.message.Request.setContent方法的一些代码示例,展示了Request.setContent的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setContent方法的具体详情如下:
包路径:javax.sip.message.Request
类名称:Request
方法名:setContent

Request.setContent介绍

暂无

代码示例

代码示例来源:origin: org.mobicents.servers.diameter.examples/openims-example-sbb

req.setContent(message, contentType);

代码示例来源:origin: org.mobicents.servers.jainslee.enablers/sip-subscription-client-sbb

request.setContent(subscriptionContent.getContent().getBytes(), cth);

代码示例来源:origin: org.apache.camel/camel-sip

notifyRequest.setHeader(eventHeader);
notifyRequest.setHeader(sipPresenceAgent.getConfiguration().getContactHeader());
notifyRequest.setContent(body, sipPresenceAgent.getConfiguration().getContentTypeHeader());
LOG.debug("Sending the following NOTIFY request to Subscriber: {}", notifyRequest);

代码示例来源:origin: org.mobicents.servlet.sip/sip-servlets-impl

clonedRequest.getHeader(ContentTypeHeader.NAME);
if (contentTypeHeader!=null) {
  dialogRequest.setContent(content,contentTypeHeader);

代码示例来源:origin: org.apache.camel/camel-sip

request.addHeader(getExtensionHeader());
request.setContent(body, getContentTypeHeader());

相关文章