public interface HttpTransactionQueryInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_GET |
static String |
METHOD_POST |
static int |
REDIRECT_AUTOMATIC
URLConnection handles all redirects |
static int |
REDIRECT_MANAGED
The
QueryBase submit code handles redirects |
static int |
REDIRECT_MANAGED_SINGLESTEP
The caller will get control at each individual step in the redirect chain
|
| Modifier and Type | Method and Description |
|---|---|
void |
setQueryMethod(String method) |
void |
setRedirectBehavior(int behavior)
Set desired redirect behavior for the HTTP transaction code
|
static final int REDIRECT_AUTOMATIC
URLConnection handles all redirectsstatic final int REDIRECT_MANAGED
QueryBase submit code handles redirectsstatic final int REDIRECT_MANAGED_SINGLESTEP
static final String METHOD_GET
static final String METHOD_POST
void setRedirectBehavior(int behavior)
behavior - Desired redirect handling. (one of the REDIRECT constants)void setQueryMethod(String method)
method - HTTP submission type. (one of the METHOD constants)Copyright © 2003–2020 Sakai Project. All rights reserved.