Метод | Описание | |
---|---|---|
InputHandler ( |
||
Run ( ) : void |
When we run, we need to parse the URL for the specific file that's being requested. If the file that's being requested ends with a ".soy", then we pass it on to the SoyToJsSrcCompiler jar and show the results from that instead. Otherwise, it streams a file from the file system.
|
Метод | Описание | |
---|---|---|
GetIdFromUri ( ) : string |
Override to get ID from the Uri path instead of from the query string. Returns the first path item after "/input/" as the id.
|
Метод | Описание | |
---|---|---|
GetFilePathFromUri ( string projectId ) : string |
Get the path to file from base path. Returns full path after the current project id.
|
public InputHandler ( |
||
context | ||
Результат | System |