public class FetchProfile
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FetchProfile.Item
Base class of all the facets of a message that can be fetched.
|
Constructor and Description |
---|
FetchProfile()
Create an empty fetch profile.
|
Modifier and Type | Method and Description |
---|---|
void |
add(FetchProfile.Item item)
Add the given item.
|
void |
add(java.lang.String header)
Add the specified header name.
|
boolean |
contains(FetchProfile.Item item)
Indicates whether the fetch profile contains the specified item.
|
boolean |
contains(java.lang.String header)
Indicates whether the fetch profile contains the given header name.
|
java.lang.String[] |
getHeaderNames()
Get the names of the header fields in this profile.
|
FetchProfile.Item[] |
getItems()
Get the items in this profile.
|
public void add(FetchProfile.Item item)
public void add(java.lang.String header)
public boolean contains(FetchProfile.Item item)
public boolean contains(java.lang.String header)
public FetchProfile.Item[] getItems()
public java.lang.String[] getHeaderNames()