@Test public void testContextRootConstruction() { JettyHandlerSpecification spec = new JettyHandlerSpecification("/protocolHeader", Protocol.SOAP, "/serviceContextRoot"); Assert.assertEquals("/protocolHeader/serviceContextRoot", spec.getJettyContextRoot()); spec = new JettyHandlerSpecification("/protocolHeader", Protocol.SOAP, ""); Assert.assertEquals("/protocolHeader", spec.getJettyContextRoot()); }
public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; }
JettyHandlerSpecification { public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; } }
JettyHandlerSpecification { public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; } JettyHandlerSpecification(String protocolBindingUriPrefix, Protocol protocol, String serviceContextRoot); }
JettyHandlerSpecification { public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; } JettyHandlerSpecification(String protocolBindingUriPrefix, Protocol protocol, String serviceContextRoot); void addServiceVersionToTokenResolverEntry(ServiceVersion serviceVersion, IdentityTokenResolver resolver); String getProtocolBindingUriPrefix(); String getServiceContextRoot(); String getJettyContextRoot(); Protocol getProtocol(); Map<ServiceVersion, IdentityTokenResolver> getVersionToIdentityTokenResolverMap(); }
JettyHandlerSpecification { public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; } JettyHandlerSpecification(String protocolBindingUriPrefix, Protocol protocol, String serviceContextRoot); void addServiceVersionToTokenResolverEntry(ServiceVersion serviceVersion, IdentityTokenResolver resolver); String getProtocolBindingUriPrefix(); String getServiceContextRoot(); String getJettyContextRoot(); Protocol getProtocol(); Map<ServiceVersion, IdentityTokenResolver> getVersionToIdentityTokenResolverMap();  }