uCosminexus Application Server, Web Service Development Guide

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

put(Object requestEntity) method

Description

This method invokes the HTTP PUT method. The put(Object requestEntity) method includes an entity in the request and also receives a response entity.

An entity is ignored if the status code is below 300 and the entity is included in a response.

Syntax

public void put(Object requestEntity)

throws UniformInterfaceException

Parameter

requestEntity
This is an HTTP request entity.

Return value

The put(Object requestEntity) method returns the object of the type expressed by the specified GenericType object.

Exception

UniformInterfaceException
This exception is thrown if the HTTP response status code is 300 or more. The error message KDJJ18888-E is output to the log.

Notes