org.apache.woden.wsdl20.extensions.http
Class HTTPErrorStatusCode

java.lang.Object
  extended by org.apache.woden.wsdl20.extensions.http.HTTPErrorStatusCode

public class HTTPErrorStatusCode
extends java.lang.Object

This class represents the {http error status code} property that forms part of the HTTP extensions to the WSDL BindingFault component. This property may contain either an integer representing the error status code used with this fault or the xs:token #any indicating that no claim is made by the service about the use of error status codes.

It provides methods to query whether the property specifies an error status code (i.e. an integer) and to retrieve the property value.

Author:
John Kaputin (jkaputin@apache.org)

Field Summary
static HTTPErrorStatusCode ANY
           
 
Constructor Summary
HTTPErrorStatusCode(java.lang.Integer errorStatusCode)
           
 
Method Summary
 java.lang.Integer getCode()
           
 boolean isCodeUsed()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY

public static final HTTPErrorStatusCode ANY
Constructor Detail

HTTPErrorStatusCode

public HTTPErrorStatusCode(java.lang.Integer errorStatusCode)
Method Detail

isCodeUsed

public boolean isCodeUsed()

getCode

public java.lang.Integer getCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.