Package org.faceless.publisher.resource
Class AboutURLConnectionFactory
java.lang.Object
org.faceless.publisher.resource.AboutURLConnectionFactory
- All Implemented Interfaces:
URLConnectionFactory
A subclass of URLConnection for the "about" scheme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetURLConnection(URL2 uri, ReportFactory reportFactory) Return a URLConnection for the specified URI, or null if not possible with this factory.static booleanisRecognisedPart(String part) Return true if the scheme-specific part is recognised by this handlerbooleanReturn true if this factory can load the specified URI schema (eg http, ftp, jar, jdbc)toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.faceless.publisher.resource.URLConnectionFactory
close, getExpiry, getURLConnectionProcessors, isEgressRequired, isTrusted, isUnchanged, setURLConnectionProcessors
-
Constructor Details
-
AboutURLConnectionFactory
public AboutURLConnectionFactory()
-
-
Method Details
-
getURLConnection
Description copied from interface:URLConnectionFactoryReturn a URLConnection for the specified URI, or null if not possible with this factory.- Specified by:
getURLConnectionin interfaceURLConnectionFactory- Parameters:
uri- the URIreportFactory- the ReportFactory that owns this connection- Throws:
IOException
-
toString
-
supports
Description copied from interface:URLConnectionFactoryReturn true if this factory can load the specified URI schema (eg http, ftp, jar, jdbc)- Specified by:
supportsin interfaceURLConnectionFactory- Parameters:
uri- the URI- Returns:
- whether the URL is supported by this factory
-
isRecognisedPart
Return true if the scheme-specific part is recognised by this handler- Parameters:
part- the part, eg "blank", "invalid", "index" or "identity" (the recognised list)
-