org.apache.geronimo.messaging
Class MsgBody.Type

java.lang.Object
  extended byorg.apache.geronimo.messaging.MsgBody.Type
Enclosing class:
MsgBody

public static class MsgBody.Type
extends Object

Type-safe enumeration of body types.


Field Summary
static MsgBody.Type REQUEST
          The content is a request.
static MsgBody.Type RESPONSE
          The content is a response.
 
Constructor Summary
MsgBody.Type()
          Required for Externalization.
 
Method Summary
static MsgBody.Type getByCode(int aCode)
           
 int getCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUEST

public static final MsgBody.Type REQUEST
The content is a request.


RESPONSE

public static final MsgBody.Type RESPONSE
The content is a response.

Constructor Detail

MsgBody.Type

public MsgBody.Type()
Required for Externalization.

Method Detail

getByCode

public static MsgBody.Type getByCode(int aCode)

getCode

public int getCode()

toString

public String toString()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.