Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
    Copyright (c) 2012 LinkedIn Corp.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.

Documentation generator for server.

When passing an implementation of com.linkedin.restli.server.RestLiDocumentationRequestHandler to com.linkedin.restli.server.RestLiServer through com.linkedin.restli.server.RestLiConfig, the server will respond to special URLs with documentation content such as HTML page or JSON object.

The default implementation DefaultDocumentationRequestHandler renders both HTML and JSON documentation.

It also provides an OPTIONS http method alias to the JSON documentation content.

package com.linkedin.restli.docgen;
New to GrepCode? Check out our FAQ X