| org.w3c.jigsaw.frames.HTTPFrame org.w3c.jigsaw.frames.JpegXMPFrame
JpegXMPFrame | public class JpegXMPFrame extends HTTPFrame (Code) | | This class will read the XMP marker from a jpeg file and return it
depending on the Accept: header
|
debug | final public static boolean debug(Code) | | |
vary | protected static String[] vary(Code) | | the static String of the Vary ehader to be added
|
xmptype | protected static MimeType xmptype(Code) | | the static String of the Vary ehader to be added
|
checkIfMatch | public int checkIfMatch(Request request, HttpEntityTag etag)(Code) | | Check the If-Match condition of that request.
Parameters: request - The request to check. An integer, either COND_FAILED if conditionwas checked, but failed, COND_OK if condition was checkedand succeeded, or 0 if the condition was not checkedat all (eg because the resource or the request didn't support it). |
checkIfNoneMatch | public int checkIfNoneMatch(Request request, HttpEntityTag etag)(Code) | | Check the If-None-Match condition of that request.
Parameters: request - The request to check. An integer, either COND_FAILED if conditionwas checked, but failed, COND_OK if condition was checkedand succeeded, or 0 if the condition was not checkedat all (eg because the resource or the request didn't support it). |
checkValidators | public int checkValidators(Request request, HttpEntityTag etag)(Code) | | check the validators namely LMT/Etags according to rfc2616 rules
An integer, either COND_FAILED if conditionwas checked, but failed, COND_OK if condition was checkedand succeeded, or 0 if the condition was not checkedat all (eg because the resource or the request didn't support it). |
getMetadata | protected String getMetadata()(Code) | | Extract the XMP from the jpeg image.
the xmp info |
getXMPETag | public HttpEntityTag getXMPETag()(Code) | | Get the comment Etag
an instance of HttpEntityTag, or null if notdefined. |
negotiate | protected boolean negotiate(Request request) throws ProtocolException(Code) | | Negotiate.
Parameters: request - the incomming request. true if the client wants the comment, false if the client wants the image. |
updateCachedHeaders | protected void updateCachedHeaders()(Code) | | Update the cached headers value.
Each resource maintains a set of cached values for headers, this
allows for a nice sped-up in headers marshalling, which - as the
complexity of the protocol increases - becomes a bottleneck.
|
Methods inherited from org.w3c.jigsaw.frames.HTTPFrame | public void addStyleSheet(HtmlGenerator g)(Code)(Java Doc) public void attributeChanged(AttributeChangedEvent evt)(Code)(Java Doc) public Reply browse(Request request) throws ProtocolException(Code)(Java Doc) public boolean checkExpect(Request request)(Code)(Java Doc) public int checkIfMatch(Request request)(Code)(Java Doc) public int checkIfModifiedSince(Request request)(Code)(Java Doc) public int checkIfNoneMatch(Request request)(Code)(Java Doc) public int checkIfUnmodifiedSince(Request request)(Code)(Java Doc) public boolean checkRequest(RequestInterface request)(Code)(Java Doc) public int checkValidators(Request request)(Code)(Java Doc) public boolean computeContainerListing(boolean refresh)(Code)(Java Doc) public String computeETag()(Code)(Java Doc) protected File computeTrashDir(File dir)(Code)(Java Doc) protected File computeTrashFile(File file)(Code)(Java Doc) public Reply createDefaultReply(Request request, int status)(Code)(Java Doc) protected Reply createFileReply(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply delete(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteMe(Request request) throws HTTPException(Code)(Java Doc) protected Reply deleteOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply extended(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply get(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected HttpTokenList getAllow()(Code)(Java Doc) public boolean getAllowDeleteFlag()(Code)(Java Doc) public boolean getBrowsableFlag()(Code)(Java Doc) protected synchronized MimeType getBrowseType()(Code)(Java Doc) public String getCharset()(Code)(Java Doc) public String getContentEncoding()(Code)(Java Doc) public String getContentLanguage()(Code)(Java Doc) public int getContentLength()(Code)(Java Doc) public MimeType getContentType()(Code)(Java Doc) public Reply getDirectoryListing(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public DirectoryResource getDirectoryResource()(Code)(Java Doc) protected Reply getDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public HttpEntityTag getETag()(Code)(Java Doc) public FileResource getFileResource()(Code)(Java Doc) protected Reply getFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public String getHelpURL()(Code)(Java Doc) public String getHelpURL(String topic)(Code)(Java Doc) public String getIcon()(Code)(Java Doc) public String getIconDirectory()(Code)(Java Doc) public String getIndex()(Code)(Java Doc) public String[] getIndexes()(Code)(Java Doc) public boolean getMD5Flag()(Code)(Java Doc) public long getMaxAge()(Code)(Java Doc) protected Reply getOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean getPutableFlag()(Code)(Java Doc) public double getQuality()(Code)(Java Doc) public boolean getRelocateFlag()(Code)(Java Doc) public String getStyleSheetURL()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public URL getURL(Request request)(Code)(Java Doc) public Reply handleRangeRequest(Request request, HttpRange r) throws ProtocolException(Code)(Java Doc) public Reply head(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public void initialize(Hashtable defs)(Code)(Java Doc) public Reply link(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupDirectory(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupFile(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupOther(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupResource(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public Reply options(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public ReplyInterface perform(RequestInterface req) throws ProtocolException, ResourceException(Code)(Java Doc) protected ReplyInterface performFrames(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc) public void pickleValues(Hashtable defs)(Code)(Java Doc) public Reply post(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply put(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putOtherResource(Request request) throws ProtocolException(Code)(Java Doc) public void registerOtherResource(FramedResource resource)(Code)(Java Doc) public void registerResource(FramedResource resource)(Code)(Java Doc) public synchronized void setValue(int idx, Object value)(Code)(Java Doc) public Reply trace(Request request) throws HTTPException, ClientException(Code)(Java Doc) public Reply unlink(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public double unsafeGetQuality()(Code)(Java Doc) protected void updateCachedHeaders()(Code)(Java Doc)
|
|
|