(クラス)
"http://hostname" または "https://hostname" を表す Directory。
| host: | このステム URL のホスト名部分を返します。 |
アクセサ public StemHttpDirectory.host:
String
アクセサ public StemHttpDirectory.name:
String
アクセサ public StemHttpDirectory.parent-dir:
Directory
| concat: | self.url を tail に連結して、新しい Url を作成します。
戻り値のクエリおよびアンカーは tail から解析されます。 |
| public | {StemHttpDirectory.concat tail:String}:Url |
| get-port: | ステムに対するポートを返し、ポートが既定値かどうかも返します (Url には特定のポート指定がないため)。 |
| public | {StemHttpDirectory.get-port}:(int, defaulted-port?:bool) |
(アクセサ)
アクセサ public StemHttpDirectory.host:
String
(アクセサ)
アクセサ public StemHttpDirectory.name:
String self の名前。
説明
self が Curl のディレクトリ階層にリンクされている場合、このメソッドはグローバル リソースの名前空間にある
self の名前を返します。この場合、
{{url self.name}.resolve} および
で生成される値は
self に等しく (
==) なります。
self がディレクトリ階層にリンク
されていない場合、このアクセッサは
self が後で
Directory のいずれかにインストールされる予定があれば
self のキーとして使用される単純な名前を返します。
(アクセサ)
アクセサ public StemHttpDirectory.parent-dir:
Directory
(メソッド)
| public | {StemHttpDirectory.concat tail:String}:Url |
self.url を tail に連結して、新しい Url を作成します。
戻り値のクエリおよびアンカーは tail から解析されます。
(メソッド)
| public | {StemHttpDirectory.get-port}:(int, defaulted-port?:bool) |
ステムに対するポートを返し、ポートが既定値かどうかも返します (Url には特定のポート指定がないため)。