com.unboundid.scim.wink
Class AbstractStaticResource

java.lang.Object
  extended by com.unboundid.scim.wink.AbstractStaticResource
Direct Known Subclasses:
JSONServiceProviderConfigResource, ServiceProviderConfigResource, XMLServiceProviderConfigResource

public class AbstractStaticResource
extends Object

This class is an abstract base class for JAX-RS static SCIM resources such as the Service Provider Configuration.


Constructor Summary
AbstractStaticResource()
           
 
Method Summary
protected  void setResponseEntity(javax.ws.rs.core.Response.ResponseBuilder builder, javax.ws.rs.core.MediaType mediaType, SCIMResponse scimResponse)
          Sets the response entity (content) for a SCIM response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStaticResource

public AbstractStaticResource()
Method Detail

setResponseEntity

protected void setResponseEntity(javax.ws.rs.core.Response.ResponseBuilder builder,
                                 javax.ws.rs.core.MediaType mediaType,
                                 SCIMResponse scimResponse)
Sets the response entity (content) for a SCIM response.

Parameters:
builder - A JAX-RS response builder.
mediaType - The media type to be returned.
scimResponse - The SCIM response to be returned.


Copyright © 2011-2012 UnboundID. All Rights Reserved.