public class MessageBean extends Object
Constructor and Description |
---|
MessageBean()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
Map<String,String> |
getHeaderFormats()
This method returns the header formats.
|
Map<String,String> |
getHeaders()
This method returns the headers.
|
String |
getPrincipal() |
void |
setContent(String contents) |
void |
setHeaderFormats(Map<String,String> headerFormats)
This method sets the header formats.
|
void |
setHeaders(Map<String,String> headers)
This method sets the headers.
|
void |
setPrincipal(String principal) |
public String getContent()
public void setContent(String contents)
contents
- the contentspublic Map<String,String> getHeaders()
public void setHeaders(Map<String,String> headers)
headers
- The headerspublic Map<String,String> getHeaderFormats()
public void setHeaderFormats(Map<String,String> headerFormats)
headerFormats
- The header formatspublic String getPrincipal()
public void setPrincipal(String principal)
principal
- the principalCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.