@Test(expectedExceptions = HttpProtocolException.class, expectedExceptionsMessageRegExp = "\\(400\\):BAD REQUEST") public void createSimpleHttpPostRequestFuture400() throws Exception { SimpleHttpPostRequestFuture future = new SimpleHttpPostRequestFuture( getHttpUrlConnection(400, "BAD REQUEST", new ByteArrayInputStream(new byte[] {1}))); 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();  }