uCosminexus Application Server, Web Service Development Guide

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

method(String method) method

Description

This method invokes the HTTP method. The method(String method) method does not include any entity in the request and does not receive any 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)

throws UniformInterfaceException

Parameter

method
This is the name of an HTTP method.

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