public int post()

in src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java [263:270]


    public int post(String url, Map<String,String> properties) throws HttpException, IOException {
        final PostMethod post = new PostMethod(url);
        post.getParams().setContentCharset("UTF-8");
        for(Entry<String, String> e : properties.entrySet()) {
            post.addParameter(e.getKey(), e.getValue());
        }
        return httpClient.executeMethod(post);
    }