@Test(expected = NuxeoException.class) public void testReadInvalidDiscovery() throws IOException { WOPIDiscovery.read("plain text".getBytes()); }
public static WOPIDiscovery read(byte[] discoveryBytes) { try { return XML_MAPPER.readValue(discoveryBytes, WOPIDiscovery.class); } catch (IOException e) { throw new NuxeoException(e); } }
WOPIDiscovery { public static WOPIDiscovery read(byte[] discoveryBytes) { try { return XML_MAPPER.readValue(discoveryBytes, WOPIDiscovery.class); } catch (IOException e) { throw new NuxeoException(e); } } }
WOPIDiscovery { public static WOPIDiscovery read(byte[] discoveryBytes) { try { return XML_MAPPER.readValue(discoveryBytes, WOPIDiscovery.class); } catch (IOException e) { throw new NuxeoException(e); } }  }
WOPIDiscovery { public static WOPIDiscovery read(byte[] discoveryBytes) { try { return XML_MAPPER.readValue(discoveryBytes, WOPIDiscovery.class); } catch (IOException e) { throw new NuxeoException(e); } }  NetZone getNetZone(); void setNetZone(NetZone netZone); ProofKey getProofKey(); void setProofKey(ProofKey proofKey); static WOPIDiscovery read(byte[] discoveryBytes); }
WOPIDiscovery { public static WOPIDiscovery read(byte[] discoveryBytes) { try { return XML_MAPPER.readValue(discoveryBytes, WOPIDiscovery.class); } catch (IOException e) { throw new NuxeoException(e); } }  NetZone getNetZone(); void setNetZone(NetZone netZone); ProofKey getProofKey(); void setProofKey(ProofKey proofKey); static WOPIDiscovery read(byte[] discoveryBytes);  }