org.netbeans.modules.web.api.webmodule
Class RequestParametersQuery
java.lang.Object
org.netbeans.modules.web.api.webmodule.RequestParametersQuery
public final class RequestParametersQuery
- extends Object
This query serves for executing single file in the server.
It returns the request parameters for a given file.
- See Also:
RequestParametersQueryImplementation
Method Summary |
static String |
getFileAndParameters(org.openide.filesystems.FileObject file)
Returns the part of URL for access the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestParametersQuery
public RequestParametersQuery()
getFileAndParameters
public static String getFileAndParameters(org.openide.filesystems.FileObject file)
- Returns the part of URL for access the file. It can include the query string.
- Parameters:
file
- the file to find the request parameters for.
- Returns:
- path from the context; can be null.
- Throws:
NullPointerException
- if the file
parameter is null.