public class EndpointContextHolder extends Object
| Constructor and Description |
|---|
EndpointContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static EndpointContextHolder |
buildContext(ServiceNode service,
EndpointNode ep)
Build a parsable object model for a service endpoint.
|
String |
getBasePath() |
String |
getHost() |
String |
getName() |
String |
getPort() |
String |
getUrl() |
public static EndpointContextHolder buildContext(ServiceNode service, EndpointNode ep)
ep must be bound to the service
inorder to extract its details. If ep is not bound to the service null
will be returnedservice - service with bound endpointsep - EndpointNode which to extract details fromep is bound to the service, endpoint context will be returned.
otherwise empty null will be returnedpublic String getHost()
public String getPort()
public String getBasePath()
public String getUrl()
public String getName()
Copyright © 2018 WSO2. All rights reserved.