uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

put(Class<T> c, Object requestEntity) method

Description

This method invokes the HTTP PUT method. The put(Class<T> c, Object requestEntity) method includes an entity in the request and also receives a response entity.

Syntax

public <T> T put(Class<T> c,

Object requestEntity)

throws UniformInterfaceException

Parameters

c
This is the type of an HTTP response entity.

requestEntity
This is an HTTP request entity.

Return value

The put(Class<T> c, Object requestEntity) method returns the object of the specified type.

Exception

This exception is thrown if any of the following conditions is fulfilled. The error message KDJJ18888-E is output to the log.

Notes