public class MockWebServiceContext extends Object implements WebServiceContext
| Constructor and Description |
|---|
MockWebServiceContext(String ipaddress) |
| 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 MockWebServiceContext(String ipaddress)
public MessageContext getMessageContext()
getMessageContext in interface WebServiceContextpublic Principal getUserPrincipal()
getUserPrincipal in interface WebServiceContextpublic 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 WebServiceContextCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.