@Test(expectedExceptions = HttpProtocolException.class, expectedExceptionsMessageRegExp = "\\(500\\):INTERNAL SERVER ERROR") public void createSimpleHttpPostRequestFuture500() throws Exception { SimpleHttpPostRequestFuture future = new SimpleHttpPostRequestFuture(getHttpUrlConnection(500, "INTERNAL SERVER ERROR", null)); future.getResult(); }
public TLVElement getResult() throws KSIException { return parse(responseCode, responseMessage, new ByteArrayInputStream(response)); }
SimpleHttpPostRequestFuture extends HttpPostRequestFuture { public TLVElement getResult() throws KSIException { return parse(responseCode, responseMessage, new ByteArrayInputStream(response)); } }
SimpleHttpPostRequestFuture extends HttpPostRequestFuture { public TLVElement getResult() throws KSIException { return parse(responseCode, responseMessage, new ByteArrayInputStream(response)); } SimpleHttpPostRequestFuture(HttpURLConnection connection); }
SimpleHttpPostRequestFuture extends HttpPostRequestFuture { public TLVElement getResult() throws KSIException { return parse(responseCode, responseMessage, new ByteArrayInputStream(response)); } SimpleHttpPostRequestFuture(HttpURLConnection connection); boolean isFinished(); TLVElement getResult(); }
SimpleHttpPostRequestFuture extends HttpPostRequestFuture { public TLVElement getResult() throws KSIException { return parse(responseCode, responseMessage, new ByteArrayInputStream(response)); } SimpleHttpPostRequestFuture(HttpURLConnection connection); boolean isFinished(); TLVElement getResult();  }