uCosminexus Application Server, Web Service Development Guide
getEntity(GenericType<T> gt) method
Description
This method acquires an entity of an HTTP response. If the acquired entity is not an instance of the class that implemented the Closeable interface, the input stream is closed.
Syntax
public <T> T getEntity(GenericType<T> gt)
throws ClientHandlerException,
UniformInterfaceException
Parameter
Return value
The method returns the object of the type expressed by the specified GenericType object.
Exception
Notes
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.