|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.Network.JPIP.TargetField
public class TargetField
This class is used to store the target fields.
Further information, see ISO/IEC 15444-9 section C.2
| Field Summary | |
|---|---|
int[] |
subtarget
subtarget = "subtarget" "=" byte-range byte-range = UINT_RANGE May be used to qualify the original named resource through the specification of a byte range. |
java.lang.String |
target
target = "target" "=" PATH Specifies the original named resource (often the name of a file on the server). |
java.lang.String |
tid
tid = "tid" "=" target-id target-id = TOKEN This field may be used to supply a target-id string, which was previously generated by the server to absolutely identify the logical target that is being accessed, including any discretionary transcoding performed by the server. |
| Constructor Summary | |
|---|---|
TargetField()
Constructor. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this Target fields out to the specified output stream. |
void |
reset()
Sets the attributes to its initial values. |
java.lang.String |
toString()
For debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String target
If the Target request field is missing then the original named resource is determined by other means.
public int[] subtarget
May be used to qualify the original named resource through the specification of a byte range. The logical target is to be interpreted as the indicated byte range of the original named resource.
The lower and upper bounds of the supplied byte-range are inclusive, an 0 refers to the first byte of the target file.
public java.lang.String tid
This field may be used to supply a target-id string, which was previously generated by the server to absolutely identify the logical target that is being accessed, including any discretionary transcoding performed by the server. The logical target name is not necessarily unique and does not necessarily correspond to a single encoding of its contents, whereas the target-id string, together with the original resource name and byte range, should absolutely identify both the imagery and its encoding.
If target-id is "0", the logical target is specified through the use of the Target, Sub-target and JPIP URL path component, and the client is explicitly requesting that the server inform it of the assigned target-id, if there is one. The server shall include a Target ID header in its response to all client requests with a target-id of "0".
target-id shall not exceed 255 characters in length.
| Constructor Detail |
|---|
public TargetField()
| Method Detail |
|---|
public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||