com.nec.webotx.jbi.binding.soap
クラス SOAPWrapper

java.lang.Object
  上位を拡張 com.nec.webotx.jbi.binding.soap.SOAPWrapper

public class SOAPWrapper
extends java.lang.Object

This object provides a wrapper for SOAP Messages and also contains status information. The wrapper allows clients to attach properties to it.


コンストラクタの概要
SOAPWrapper(javax.xml.soap.SOAPMessage soapMessage)
          Creates a new instance of SOAPWrapper.
 
メソッドの概要
 java.util.ArrayList<java.lang.String> getCookies()
          Get cookie headers from MessageExchange set before.
 javax.xml.soap.SOAPMessage getMessage()
          Get the soap message.
 java.lang.String getOpName()
          Get the operation name.
 java.util.Iterator getProperties()
          Get the property list.
 java.util.Map getPropertiesMap()
          Get the property Map
 java.lang.String getQuery()
          Get query.
 java.lang.String getRelativePath()
          Get relative path.
 HttpServletRequest getRequest()
          Get the HttpServletRequest.
 java.lang.String getServiceURL()
          Get Service URL.
 int getStatus()
          Get status.
 java.lang.Boolean getUseChunked()
          Got whether current SOAPMessage will send by chunked encoding.
 java.lang.Object getValue(java.lang.String propertyName)
          Set a property to the SOAP Wrapper.
 void setCookies(java.util.ArrayList<java.lang.String> cookieHeaders)
          Set cookie headers from client or outer server.
 void setOpName(java.lang.String opName)
          Set operation name.
 void setQuery(java.lang.String query)
          Set query.
 void setRelativePath(java.lang.String path)
          Set relative path.
 void setRequest(HttpServletRequest request)
          Set HTTP Servlet Request.
 void setServiceURL(java.lang.String serviceURL)
          Set Service URL.
 void setStatus(int status)
          Set status.
 void setUseChunked(java.lang.Boolean chunked)
          To set whether current SOAPMessage will send by chunked encoding.
 void setValue(java.lang.String propertyName, java.lang.Object value)
          Set a property to the SOAP Wrapper.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SOAPWrapper

public SOAPWrapper(javax.xml.soap.SOAPMessage soapMessage)
Creates a new instance of SOAPWrapper.

パラメータ:
soapMessage - - soap message
メソッドの詳細

setStatus

public void setStatus(int status)
Set status.

パラメータ:
status - request status

getStatus

public int getStatus()
Get status.

戻り値:
status information

getServiceURL

public java.lang.String getServiceURL()
Get Service URL.

戻り値:
service URL

setServiceURL

public void setServiceURL(java.lang.String serviceURL)
Set Service URL.

パラメータ:
serviceURL - service url.

getMessage

public javax.xml.soap.SOAPMessage getMessage()
Get the soap message.

戻り値:
soap message instance

setValue

public void setValue(java.lang.String propertyName,
                     java.lang.Object value)
Set a property to the SOAP Wrapper.

パラメータ:
propertyName - property name
value - property value

getValue

public java.lang.Object getValue(java.lang.String propertyName)
Set a property to the SOAP Wrapper.

パラメータ:
propertyName - property name
戻り値:
property value

getProperties

public java.util.Iterator getProperties()
Get the property list.

戻り値:
a list of property names.

getPropertiesMap

public java.util.Map getPropertiesMap()
Get the property Map

戻り値:
a map of properties

getRequest

public HttpServletRequest getRequest()
Get the HttpServletRequest.

戻り値:
HTTP Servlet Request.

setRequest

public void setRequest(HttpServletRequest request)
Set HTTP Servlet Request.

パラメータ:
request - HTTP Servlet Request.

getQuery

public java.lang.String getQuery()
Get query.

戻り値:
query

setQuery

public void setQuery(java.lang.String query)
Set query.

パラメータ:
query - query

getRelativePath

public java.lang.String getRelativePath()
Get relative path.

戻り値:
relative path

setRelativePath

public void setRelativePath(java.lang.String path)
Set relative path.

パラメータ:
path - relative path

getOpName

public java.lang.String getOpName()
Get the operation name.

戻り値:
the operation name.

setOpName

public void setOpName(java.lang.String opName)
Set operation name.

パラメータ:
opName - set the operation name.

setUseChunked

public void setUseChunked(java.lang.Boolean chunked)
To set whether current SOAPMessage will send by chunked encoding.

パラメータ:
chunked - Flag for whether current SOAPMessage will send by chunked encoding.

getUseChunked

public java.lang.Boolean getUseChunked()
Got whether current SOAPMessage will send by chunked encoding.

戻り値:
If the current SOAPMessage need to send by chunked encoding.

getCookies

public java.util.ArrayList<java.lang.String> getCookies()
Get cookie headers from MessageExchange set before.

戻り値:

setCookies

public void setCookies(java.util.ArrayList<java.lang.String> cookieHeaders)
Set cookie headers from client or outer server.

パラメータ:
cookieHeaders - String list of cookies value.


Copyright (C) 1998 - 2012 NEC Corporation. All rights reserved.