Class LocationHeaderResource


  • public class LocationHeaderResource
    extends java.lang.Object
    Utility class to create the location URI which is added in the header when creating a resource using POST.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createLocationForChildResource​(javax.servlet.http.HttpServletRequest request, java.lang.Object childIdentifier)
      Create the location URI to be added to the header when creating a resource using POST
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocationHeaderResource

        public LocationHeaderResource()
    • Method Detail

      • createLocationForChildResource

        public java.lang.String createLocationForChildResource​(javax.servlet.http.HttpServletRequest request,
                                                               java.lang.Object childIdentifier)
        Create the location URI to be added to the header when creating a resource using POST
        Parameters:
        request -
        childIdentifier -
        Returns:
        the location header URI