OSGi™ Service Platform
Core Specification

Release 4 Version 4.3

org.osgi.service.url
Interface URLConstants


public interface URLConstants

Defines standard names for property keys associated with URLStreamHandlerService and java.net.ContentHandler services.

The values associated with these keys are of type java.lang.String[] or java.lang.String, unless otherwise indicated.

Consumers of this API must not implement this interface

Field Summary
static java.lang.String URL_CONTENT_MIMETYPE
          Service property naming the MIME types serviced by a java.net.ContentHandler.
static java.lang.String URL_HANDLER_PROTOCOL
          Service property naming the protocols serviced by a URLStreamHandlerService.
 

Field Detail

URL_HANDLER_PROTOCOL

static final java.lang.String URL_HANDLER_PROTOCOL
Service property naming the protocols serviced by a URLStreamHandlerService. The property's value is a protocol name or an array of protocol names.

See Also:
Constant Field Values

URL_CONTENT_MIMETYPE

static final java.lang.String URL_CONTENT_MIMETYPE
Service property naming the MIME types serviced by a java.net.ContentHandler. The property's value is a MIME type or an array of MIME types.

See Also:
Constant Field Values

OSGi™ Service Platform
Core Specification

Release 4 Version 4.3

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0