public abstract class BaseResource
extends org.restlet.resource.Resource
Resource
with common shared functionality.Constructor and Description |
---|
BaseResource(org.restlet.Context ctx,
org.restlet.data.Request req,
org.restlet.data.Response res) |
Modifier and Type | Method and Description |
---|---|
org.restlet.resource.Variant |
getPreferredVariant()
If client can accept text/html, always prefer it.
|
protected String |
getStaticRef(String resource) |
acceptRepresentation, allowDelete, allowGet, allowPost, allowPut, delete, getPreferredRepresentation, getRepresentation, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, post, put, removeRepresentations, represent, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants, storeRepresentation
public BaseResource(org.restlet.Context ctx, org.restlet.data.Request req, org.restlet.data.Response res)
public org.restlet.resource.Variant getPreferredVariant()
https://webarchive.jira.com/browse/HER-1603
getPreferredVariant
in class org.restlet.resource.Resource
Copyright © 2003-2014 Internet Archive. All Rights Reserved.