我现在在做一个调用企业QQ接口来发信息的平台,是通过webservice在url传递参数调用接口。。
但是短信内容中含斜杠时会干扰参数的传递,大神教我怎么解决啊?
@GET
@Path("/sendTips/{receivers}/{content}/{windowTitle}/{tipsTitle}/{tipsUrl}")
@Produces ({MediaType.APPLICATION_JSON})
public String sendTips(@PathParam("receivers") String receivers, @PathParam("content") String content,
@PathParam("windowsTitle") String windowsTitle, @PathParam("tipsTitle") String tipsTitle,
@PathParam("tipsUrl") String tipsUrl) throws SystemException;