public class DefaultRequestPath extends AbstractRequestPathMetadata implements RequestPath
Constructor and Description |
---|
DefaultRequestPath(URI baseURI,
URI requestedURI,
String requestMethod) |
Modifier and Type | Method and Description |
---|---|
String |
getActualPath()
Obtain defined path.
|
URI |
getBaseURI()
リクエストされたアプリケーションのコンテキストパスを
表す
URI を取得します。 |
String |
getRequestMethod()
リクエストされたパスを実行するメソッドを取得します。
|
List<String> |
getRequestMethods()
Obtain defined (HTTP) request methods.
|
URI |
getRequestURI()
リクエストされたパスを表す
URI を取得します。 |
boolean |
match(RequestPath requestPath)
Check own
RequestPath match assigned one. |
boolean |
pathThrowgh(String specifier)
Deprecated.
|
String |
toString() |
equals, hashCode
public String getActualPath()
RequestPathMetadata
getActualPath
in interface RequestPathMetadata
public boolean match(RequestPath requestPath)
RequestPathMetadata
RequestPath
match assigned one.match
in interface RequestPathMetadata
requestPath
- RequestPath
true
- if matched RequestPath
@Deprecated public boolean pathThrowgh(String specifier)
RequestPath
false
を返します。
合致しない(このコンポーネントが扱うべきリクエストでない)場合はtrue
を返します。pathThrowgh
in interface RequestPath
specifier
- 識別子true
public String getRequestMethod()
RequestPath
getRequestMethod
in interface RequestPath
public List<String> getRequestMethods()
RequestPathMetadata
getRequestMethods
in interface RequestPathMetadata
public URI getRequestURI()
RequestPath
URI
を取得します。getRequestURI
in interface RequestPath
URI
public URI getBaseURI()
RequestPath
URI
を取得します。getBaseURI
in interface RequestPath
URI
Copyright © 2014 Analog Web Framework Development Team. All Rights Reserved.