@ApplicationScoped public class WebServiceContextSimulation extends Object implements WebServiceContext
| Modifier and Type | Class and Description |
|---|---|
static class |
WebServiceContextSimulation.MockHttpServletResponse
Dummy Http-Response to be returned from WebServiceContextSimulation in MessageContext
|
| Constructor and Description |
|---|
WebServiceContextSimulation() |
| Modifier and Type | Method and Description |
|---|---|
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz,
Element... referenceParameters) |
EndpointReference |
getEndpointReference(Element... referenceParameters) |
MessageContext |
getMessageContext() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
public boolean isUserInRole(String role)
isUserInRole in interface WebServiceContextpublic Principal getUserPrincipal()
getUserPrincipal in interface WebServiceContextpublic MessageContext getMessageContext()
getMessageContext in interface WebServiceContextpublic <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
getEndpointReference in interface WebServiceContextpublic EndpointReference getEndpointReference(Element... referenceParameters)
getEndpointReference in interface WebServiceContextCopyright © 2017–2018. All rights reserved.