|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.gridservit.context.helpers.AdditionalContextHelper
public class AdditionalContextHelper
| Constructor Summary | |
|---|---|
AdditionalContextHelper()
|
|
| Method Summary | |
|---|---|
static ArrayList<Element> |
getAdditonalHeaders()
|
static ArrayList<Element> |
getMultipleHeaders(ArrayList<Element> headers,
QName name)
Search through a list of headers for one with the given name. |
static Element |
getSingleHeader(ArrayList<Element> headers,
QName name)
Search through a list of headers for one with the given name. |
static Element |
getSingleHeader(QName name)
Search through a list of signed headers stored in the message context for one with the given name. |
static void |
setAdditionalHeaders(MessageContext msgContext,
ArrayList<Element> headers)
Store the additional headers for later retrieval by getAdditonalHeaders. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdditionalContextHelper()
| Method Detail |
|---|
public static ArrayList<Element> getAdditonalHeaders()
public static void setAdditionalHeaders(MessageContext msgContext,
ArrayList<Element> headers)
msgContext - the context in which to store the listheaders - an array of headers that were signed by the client (see AuthenticatedContextHelper) in the
same signature which signed the body and the resource ID (see ProcessContextHelper).
public static ArrayList<Element> getMultipleHeaders(ArrayList<Element> headers,
QName name)
throws GridFailureException
GridFailureException - if more than one header had this name
public static Element getSingleHeader(ArrayList<Element> headers,
QName name)
throws GridFailureException
GridFailureException - if more than one header had this name
public static Element getSingleHeader(QName name)
throws GridFailureException
name - the QName of the header
GridFailureException - if more than one header had this name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||