uCosminexus Application Server, Web Service Development Guide

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

method(String method, Object requestEntity) method

Description

This method invokes the HTTP method. The method(String method, Object requestEntity) method does not include any entities in the request, but 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 method(String method,

Object requestEntity)

throws UniformInterfaceException

Parameters

method
This is an HTTP method.

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