uCosminexus Application Server, Web Service Development Guide

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

post(Object requestEntity) method

Description

This method invokes the HTTP POST method. The post(Object requestEntity) method includes an entity in the request, but does not receive 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 post(Object requestEntity)

throws UniformInterfaceException

Parameter

requestEntity
This is an HTTP request entity.

Return value

None.

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