public class ExternalContentHandler extends Object
Modifier | Constructor and Description |
---|---|
protected |
ExternalContentHandler(String linkHeader)
Construct an ExternalContentHandler (helper)
|
Modifier and Type | Method and Description |
---|---|
InputStream |
fetchExternalContent()
Fetch the external content
|
javax.ws.rs.core.MediaType |
getContentType()
Returns the content type located in the link header.
|
String |
getHandling()
Retrieve handling information
|
String |
getURL()
Retrieve url in link header
|
boolean |
isCopy()
Returns whether or not the handling parameter is "copy"
|
boolean |
isProxy()
Returns whether or not the handling parameter is "proxy"
|
boolean |
isRedirect()
Returns whether or not the handling parameter is "redirect"
|
protected ExternalContentHandler(String linkHeader)
linkHeader
- actual link header from requestpublic javax.ws.rs.core.MediaType getContentType()
public String getHandling()
public String getURL()
public boolean isCopy()
public boolean isRedirect()
public boolean isProxy()
public InputStream fetchExternalContent()
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.