|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.threeD.Utils
final class Utils
3D Walkthrough utilities. Shared by the JWS code and the supporting server-side code.
| Field Summary | |
|---|---|
static java.lang.String |
HP_OPCODE
HTTP parameter used to select the operation type; URL safe. |
static java.lang.String |
HP_ORD
HTTP parameter used to indicate the exhibit ordinal(s); URL safe. |
private static java.lang.String |
MDREQ
"File" portion of meta-data request. |
static java.lang.String |
OP_LUS
Operation type to request multiple exhibit name lookups by ordinal; URL safe. |
static java.lang.String |
OP_MD
Operation type to request basic metadata; URL safe. |
(package private) static int |
RPC_HTTP_CONNECT_TIMEOUT_MS
Basic connect timeout for HTTP/RPCs for reasonable interactivity, in ms; strictly positive. |
(package private) static int |
RPC_HTTP_READ_TIMEOUT_MS
Basic read timeout for HTTP/RPCs for reasonable interactivity, in ms; strictly positive. |
static java.lang.String |
SERVLET_MOUNT_POINT
Expected mount point of this servlet; starts with "/". |
| Constructor Summary | |
|---|---|
private |
Utils()
Prevent construction of an instance. |
| Method Summary | |
|---|---|
private static java.net.HttpURLConnection |
_setUpConnection(java.net.URL hostAndPort,
java.lang.String rrURL)
Set up and open HTTP connection to server for RPC; never null. |
(package private) static Name.ExhibitFull[] |
getExhibitNames(java.net.URL hostAndPort,
int[] ordinals)
Client-side call to get exhibit names (by index) from the server; never null. |
(package private) static LightweightMetaDataFetchInterface.GalleryBasicMetaData |
getMetaData(java.net.URL hostAndPort)
Client-side call to fetch metadata from the server; never null. |
static boolean |
supportedTypeFor3DWT(ExhibitMIME.ExhibitTypeParameters exhibitType)
Returns true for exhibit types supported in the walkthrough, false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVLET_MOUNT_POINT
public static final java.lang.String HP_OPCODE
public static final java.lang.String HP_ORD
public static final java.lang.String OP_MD
public static final java.lang.String OP_LUS
private static final java.lang.String MDREQ
static final int RPC_HTTP_CONNECT_TIMEOUT_MS
The random factor helps to prevent different clients from colliding.
static final int RPC_HTTP_READ_TIMEOUT_MS
The random factor helps to prevent separate clients from colliding.
| Constructor Detail |
|---|
private Utils()
| Method Detail |
|---|
public static boolean supportedTypeFor3DWT(ExhibitMIME.ExhibitTypeParameters exhibitType)
static final LightweightMetaDataFetchInterface.GalleryBasicMetaData getMetaData(java.net.URL hostAndPort)
throws java.io.IOException
hostAndPort - server host with optional port,
or null to use the default/main server name
java.io.IOException - in case of error
private static java.net.HttpURLConnection _setUpConnection(java.net.URL hostAndPort,
java.lang.String rrURL)
throws java.io.IOException
java.io.IOException
static final Name.ExhibitFull[] getExhibitNames(java.net.URL hostAndPort,
int[] ordinals)
throws java.io.IOException
hostAndPort - server host with optional port,
or null to use the default/main server name
java.io.IOException - in case of error
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||