Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.wsee.jws
Class Protocol

java.lang.Object
  extended by weblogic.wsee.jws.Protocol
All Implemented Interfaces:
Serializable

Deprecated.

public class Protocol
extends Object
implements Serializable

The Protocol class is an enumerated type that defines the set of supported invocation protocols available for Weblogic Workshop component invocation. A Protocol instance has an ID, which is guaranteed to be unique and can be safely used in switch statement against the various ID_xxx values, and a name, which corresponds to the protocol name used to enable/disable the protocol in the protocol tag. It is also safe to use object equality to compare protocol values obtained as parameters or via deserialization to the defined constants. For example: Protocol.getProtocol(ID_HTTP_GET) == Protocol.HTTP_GET is always guaranteed to be true.

See Also:
Serialized Form

Field Summary
static Protocol HTTP_GET
          Deprecated.  
static Protocol HTTP_POST
          Deprecated.  
static Protocol HTTP_SOAP
          Deprecated.  
static Protocol HTTP_SOAP12
          Deprecated.  
static Protocol HTTP_XML
          Deprecated.  
static int ID_HTTP_GET
          Deprecated. Value indicating query-style invocation using HTTP GET
static int ID_HTTP_POST
          Deprecated. Value indicating query-style invocation using HTTP POST
static int ID_HTTP_SOAP
          Deprecated. Value indicating SOAP invocation using HTTP (POST)
static int ID_HTTP_SOAP12
          Deprecated. Value indicating SOAP12 invocation using HTTP (POST)
static int ID_HTTP_XML
          Deprecated. Value indicating raw XML using HTTP (POST)
static int ID_JMS_SOAP
          Deprecated. Value indicating SOAP invocation using JMS
static int ID_JMS_SOAP12
          Deprecated. Value indicating SOAP invocation using JMS
static int ID_JMS_XML
          Deprecated. Value indicating raw XML using HTTP (POST)
static Protocol JAVA
          Deprecated.  
static Protocol JMS_SOAP
          Deprecated.  
static Protocol JMS_SOAP12
          Deprecated.  
static Protocol JMS_XML
          Deprecated.  
static int SCHEME_HTTP
          Deprecated.  
static int SCHEME_JAVA
          Deprecated.  
static int SCHEME_JMS
          Deprecated.  
 
Method Summary
 int getID()
          Deprecated. Returns the integer identifier associated with the protocol.
 String getName()
          Deprecated. Returns the protocol name for the protocol.
static Protocol getProtocol(boolean soap12, String scheme)
          Deprecated.  
static Protocol getProtocolByID(int id)
          Deprecated. Returns the Protocol object selected by protocol id
static Protocol getProtocolByName(String name)
          Deprecated. Returns the Protocol object selected by protocol name
static int getSchemeForProtocol(Protocol p)
          Deprecated.  
static boolean isSoap(Protocol p)
          Deprecated.  
static boolean isSoap11(Protocol p)
          Deprecated.  
static boolean isSoap12(Protocol p)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_HTTP_GET

public static final int ID_HTTP_GET
Deprecated. 
Value indicating query-style invocation using HTTP GET

See Also:
Constant Field Values

ID_HTTP_POST

public static final int ID_HTTP_POST
Deprecated. 
Value indicating query-style invocation using HTTP POST

See Also:
Constant Field Values

ID_HTTP_SOAP

public static final int ID_HTTP_SOAP
Deprecated. 
Value indicating SOAP invocation using HTTP (POST)

See Also:
Constant Field Values

ID_HTTP_SOAP12

public static final int ID_HTTP_SOAP12
Deprecated. 
Value indicating SOAP12 invocation using HTTP (POST)

See Also:
Constant Field Values

ID_HTTP_XML

public static final int ID_HTTP_XML
Deprecated. 
Value indicating raw XML using HTTP (POST)

See Also:
Constant Field Values

ID_JMS_SOAP

public static final int ID_JMS_SOAP
Deprecated. 
Value indicating SOAP invocation using JMS

See Also:
Constant Field Values

ID_JMS_SOAP12

public static final int ID_JMS_SOAP12
Deprecated. 
Value indicating SOAP invocation using JMS

See Also:
Constant Field Values

ID_JMS_XML

public static final int ID_JMS_XML
Deprecated. 
Value indicating raw XML using HTTP (POST)

See Also:
Constant Field Values

JAVA

public static final Protocol JAVA
Deprecated. 

HTTP_GET

public static final Protocol HTTP_GET
Deprecated. 

HTTP_POST

public static final Protocol HTTP_POST
Deprecated. 

HTTP_SOAP

public static final Protocol HTTP_SOAP
Deprecated. 

HTTP_SOAP12

public static final Protocol HTTP_SOAP12
Deprecated. 

HTTP_XML

public static final Protocol HTTP_XML
Deprecated. 

JMS_SOAP

public static final Protocol JMS_SOAP
Deprecated. 

JMS_SOAP12

public static final Protocol JMS_SOAP12
Deprecated. 

JMS_XML

public static final Protocol JMS_XML
Deprecated. 

SCHEME_JAVA

public static final int SCHEME_JAVA
Deprecated. 
See Also:
Constant Field Values

SCHEME_HTTP

public static final int SCHEME_HTTP
Deprecated. 
See Also:
Constant Field Values

SCHEME_JMS

public static final int SCHEME_JMS
Deprecated. 
See Also:
Constant Field Values
Method Detail

getID

public int getID()
Deprecated. 
Returns the integer identifier associated with the protocol.


getName

public String getName()
Deprecated. 
Returns the protocol name for the protocol. This name corresponds to the tag name associated with the protocol for the protocol tag.


getProtocolByID

public static Protocol getProtocolByID(int id)
Deprecated. 
Returns the Protocol object selected by protocol id


getProtocolByName

public static Protocol getProtocolByName(String name)
Deprecated. 
Returns the Protocol object selected by protocol name


isSoap

public static boolean isSoap(Protocol p)
Deprecated. 

isSoap11

public static boolean isSoap11(Protocol p)
Deprecated. 

isSoap12

public static boolean isSoap12(Protocol p)
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

getSchemeForProtocol

public static int getSchemeForProtocol(Protocol p)
Deprecated. 

getProtocol

public static Protocol getProtocol(boolean soap12,
                                   String scheme)
Deprecated. 

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02