lambdora-http-api/src/main/java/org/fcrepo/lambdora/ldp/LambdoraLdp.java
/**
     * Retrieve the resource headers
     *
     * @return response
     */
Retrieve the resource headers
@return response
Retrieve the resource headers @return response
@HEAD
    @Produces({TURTLE_WITH_CHARSET + ";qs=1.0", JSON_LD + ";qs=0.8",
        N3_WITH_CHARSET, N3_ALT2_WITH_CHARSET, RDF_XML, NTRIPLES, TEXT_PLAIN_WITH_CHARSET,
        TURTLE_X, TEXT_HTML_WITH_CHARSET})
    public Response head() throws UnsupportedAlgorithmException {
        LOGGER.info("HEAD for: {}", externalPath);
        final URI internalUri = createFromPath(externalPath);
        final Container container = getContainerService().find(internalUri);
        if (container == null) {
            if (!isRoot(internalUri)) {
                return Response.status(Response.Status.NOT_FOUND).build();
            }
        }
        return ok().build();
    }
@ HEAD @ Produces ( { TURTLE_WITH_CHARSET + ";qs=1.0" , JSON_LD + ";qs=0.8" , N3_WITH_CHARSET , N3_ALT2_WITH_CHARSET , RDF_XML , NTRIPLES , TEXT_PLAIN_WITH_CHARSET , TURTLE_X , TEXT_HTML_WITH_CHARSET } ) public Response head ( ) throws UnsupportedAlgorithmException { LOGGER . info ( "HEAD for: {}" , externalPath ) ; final URI internalUri = createFromPath ( externalPath ) ; final Container container = getContainerService ( ) . find ( internalUri ) ; if ( container == null ) { if ( ! isRoot ( internalUri ) ) { return Response . status ( Response . Status . NOT_FOUND ) . build ( ) ; } } return ok ( ) . build ( ) ; }
Retrieve the resource headers
 @return response
Retrieve the resource headers @return response