StemHttpDirectory (クラス)
public final StemHttpDirectory {inherits HttpDirectory}
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.IO.HTTP.

"http://hostname" または "https://hostname" を表す Directory


プロパティ
host:このステム URL のホスト名部分を返します。
アクセサ public StemHttpDirectory.host:String
name:self の名前。
アクセサ public StemHttpDirectory.name:String
parent-dir:self を含む Directory
アクセサ public StemHttpDirectory.parent-dir:Directory
プロパティ 継承 HttpDirectory: size, url
プロパティ 継承 Directory: url-separator
プロパティ 継承 Association-of: efficient-size, empty?, key-type
プロパティ 継承 Aggregate-of: element-type

メソッド
concat:self.urltail に連結して、新しい Url を作成します。

戻り値のクエリおよびアンカーは tail から解析されます。
public {StemHttpDirectory.concat tail:String}:Url
get-port:ステムに対するポートを返し、ポートが既定値かどうかも返します (Url には特定のポート指定がないため)。
public {StemHttpDirectory.get-port}:(int, defaulted-port?:bool)
メソッド 継承 HttpDirectory: clone, keys-to-Iterator, remove, to-Iterator
メソッド 継承 Directory: get, get-if-exists, key-exists?, set, special-entry?, url-valid-separator?
メソッド 継承 Association-of: clear, filter, filter-clone, filter-keys, filter-keys-clone, get-key, get-key-if-exists
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize




プロパティ詳細
host (アクセサ)
アクセサ public StemHttpDirectory.host:String

このステム URL のホスト名部分を返します。



name (アクセサ)
アクセサ public StemHttpDirectory.name:String

self の名前。

説明

self が Curl のディレクトリ階層にリンクされている場合、このメソッドはグローバル リソースの名前空間にある self の名前を返します。この場合、
{{url self.name}.resolve}
および
{{abs-url self.name}.resolve}
で生成される値は self に等しく (==) なります。

self がディレクトリ階層にリンクされていない場合、このアクセッサは self が後で Directory のいずれかにインストールされる予定があれば self のキーとして使用される単純な名前を返します。


parent-dir (アクセサ)
アクセサ public StemHttpDirectory.parent-dir:Directory

self を含む Directory

説明

selfDirectory 階層にインストールされていない場合は null になります。





メソッド詳細
concat (メソッド)
public {StemHttpDirectory.concat tail:String}:Url

self.urltail に連結して、新しい Url を作成します。

戻り値のクエリおよびアンカーは tail から解析されます。



get-port (メソッド)
public {StemHttpDirectory.get-port}:(int, defaulted-port?:bool)

ステムに対するポートを返し、ポートが既定値かどうかも返します (Url には特定のポート指定がないため)。