Package com.cumulocity.me.http

Examples of com.cumulocity.me.http.WebResponse


            requestExecutor.close();
        }
    }
   
    public ResourceRepresentation handle(WebRequest request, int expectedStatus, Class responseEntityType) {
        WebResponse response = handle(request);
        return responseReader.read(response, expectedStatus, responseEntityType);
    }
View Full Code Here


   
    @Test
    public void shouldDelete() throws Exception {
        request = new WebRequestImpl(WebMethod.DELETE, serverURI() + "/testDel", requestHeaders, null);
      
        WebResponse response = client.handle(request);

        assertThat(response.getStatus()).isEqualTo(HTTP_NO_CONTENT);
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.me.http.WebResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.