@Test public void testGetMimeTypeBBOXOutputRawData() { try { String sampleFileName = "src/test/resources/DTCExecuteBBOXOutputRawData.xml"; File sampleFile = new File(sampleFileName); FileInputStream is; is = new FileInputStream(sampleFile); Document doc; doc = fac.newDocumentBuilder().parse(is); is.close(); executeRequest = new ExecuteRequest(doc); OutputDefinitionType definition = executeRequest.getExecute().getResponseForm().getRawDataOutput(); String mimeType = executeRequest.getExecuteResponseBuilder() .getMimeType(definition); assertTrue(mimeType.equals("text/xml")); } catch (Exception e) { fail(e.getMessage()); } }
public String getMimeType() { return getMimeType(null); }
ExecuteResponseBuilder { public String getMimeType() { return getMimeType(null); } }
ExecuteResponseBuilder { public String getMimeType() { return getMimeType(null); } ExecuteResponseBuilder(ExecuteRequest request); }
ExecuteResponseBuilder { public String getMimeType() { return getMimeType(null); } ExecuteResponseBuilder(ExecuteRequest request); void update(); String getMimeType(); String getMimeType(OutputDefinitionType def); InputStream getAsStream(); void setStatus(StatusType status); }
ExecuteResponseBuilder { public String getMimeType() { return getMimeType(null); } ExecuteResponseBuilder(ExecuteRequest request); void update(); String getMimeType(); String getMimeType(OutputDefinitionType def); InputStream getAsStream(); void setStatus(StatusType status);  }