public class SMPServerAPIDataProvider extends Object implements com.helger.peppol.smpserver.restapi.ISMPServerAPIDataProvider
ISMPServerAPIDataProvider implementation based on UriInfo
data.| Constructor and Description |
|---|
SMPServerAPIDataProvider(javax.ws.rs.core.UriInfo aUriInfo) |
SMPServerAPIDataProvider(javax.ws.rs.core.UriInfo aUriInfo,
boolean bUseStaticServerInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.UriBuilder |
getBaseUriBuilder() |
URI |
getCurrentURI() |
String |
getServiceGroupHref(com.helger.peppol.identifier.IParticipantIdentifier aServiceGroupID) |
String |
getServiceMetadataReferenceHref(com.helger.peppol.identifier.IParticipantIdentifier aServiceGroupID,
com.helger.peppol.identifier.IDocumentTypeIdentifier aDocTypeID) |
protected javax.ws.rs.core.UriInfo |
getUriInfo() |
protected boolean |
isUseStaticServerInfo() |
public SMPServerAPIDataProvider(@Nonnull javax.ws.rs.core.UriInfo aUriInfo)
public SMPServerAPIDataProvider(@Nonnull javax.ws.rs.core.UriInfo aUriInfo, boolean bUseStaticServerInfo)
@Nonnull protected final javax.ws.rs.core.UriInfo getUriInfo()
protected final boolean isUseStaticServerInfo()
@Nonnull public URI getCurrentURI()
getCurrentURI in interface com.helger.peppol.smpserver.restapi.ISMPServerAPIDataProvider@Nonnull protected javax.ws.rs.core.UriBuilder getBaseUriBuilder()
@Nonnull public String getServiceGroupHref(@Nonnull com.helger.peppol.identifier.IParticipantIdentifier aServiceGroupID)
getServiceGroupHref in interface com.helger.peppol.smpserver.restapi.ISMPServerAPIDataProvider@Nonnull public String getServiceMetadataReferenceHref(@Nonnull com.helger.peppol.identifier.IParticipantIdentifier aServiceGroupID, @Nonnull com.helger.peppol.identifier.IDocumentTypeIdentifier aDocTypeID)
getServiceMetadataReferenceHref in interface com.helger.peppol.smpserver.restapi.ISMPServerAPIDataProviderCopyright © 2015–2016 Philip Helger. All rights reserved.