使用RESTEasy捕获所有OPTIONS请求

时间:2016-10-15 11:41:55

标签: java resteasy

我可以捕获所有OPTIONS请求:

class ISocketClient
{
public:
  ~ISocketClient() {}
  virtual bool      connectToHost(std::string const &hostname, unsigned short port) = 0;
  virtual void      closeClient() = 0;
  virtual bool      sendMessage(Message &) = 0;
  virtual Message   *getMessage() = 0;
};

但是,我能否知道产生异常的请求(URI)?

0 个答案:

没有答案