Top Description Fields Constructors Methods
org.apache.hc.core5.http

public final Enum URIScheme

extends Enum<URIScheme>
Class Inheritance
Imports
org.apache.hc.core5.util.Args

Enumerates supported URI schemes.
Since
5.0

Field Summary

Modifier and TypeField and Description
public static final URIScheme
public static final URIScheme
public final String

Constructor Summary

AccessConstructor and Description
private
URIScheme(final String id)

Method Summary

Modifier and TypeMethod and Description
public String
public boolean
same(final String scheme)

public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.
public static URIScheme
public static URIScheme[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

HTTPback to summary
public static final URIScheme HTTP
HTTPSback to summary
public static final URIScheme HTTPS
idback to summary
public final String id

Constructor Detail

URISchemeback to summary
private URIScheme(final String id)

Method Detail

getIdback to summary
public String getId()
sameback to summary
public boolean same(final String scheme)
toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

Annotations
@Override
valueOfback to summary
public static URIScheme valueOf(String name)
valuesback to summary
public static URIScheme[] values()