public class WebServiceContextImpl extends Object implements WebServiceContext
| Constructor and Description |
|---|
WebServiceContextImpl() |
WebServiceContextImpl(MessageContext c) |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz,
Element... referenceParameters) |
EndpointReference |
getEndpointReference(Element... referenceParameters) |
MessageContext |
getMessageContext() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
static MessageContext |
setMessageContext(MessageContext ctx)
Sets reference to the specified MessageContext and returns the previous reference, if any.
|
public WebServiceContextImpl()
public WebServiceContextImpl(MessageContext c)
public final MessageContext getMessageContext()
getMessageContext in interface WebServiceContextpublic final Principal getUserPrincipal()
getUserPrincipal in interface WebServiceContextpublic final boolean isUserInRole(String role)
isUserInRole in interface WebServiceContextpublic EndpointReference getEndpointReference(Element... referenceParameters)
getEndpointReference in interface WebServiceContextpublic <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
getEndpointReference in interface WebServiceContextpublic static MessageContext setMessageContext(MessageContext ctx)
ctx - The MessageContext to setpublic static void clear()
Apache CXF