uCosminexus Application Server, Web Service Development Guide
method(String method, Class<T> c) method
Description
This method invokes an HTTP method. The method(String method, Class<T> c) method does not include any entity in the request, but receives a response entity.
Syntax
public <T> T method(String method,
Class<T> c)
throws UniformInterfaceException
Parameters
Return value
The method returns the object of the specified type.
Exception
UniformInterfaceException
This exception is thrown if any of the following conditions is fulfilled. The error message KDJJ18888-E is output to the log.
Notes
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.