java.lang.Object
org.apache.dubbo.rpc.protocol.tri.rest.support.jaxrs.Helper

public final class Helper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static javax.ws.rs.core.NewCookie
    convert(org.apache.dubbo.remoting.http12.HttpCookie cookie)
     
    static String
    defaultValue(org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.ParameterMeta annotation)
     
    static boolean
    isRequired(org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.ParameterMeta parameter)
     
    static org.apache.dubbo.remoting.http12.HttpResult<Object>
    toBody(javax.ws.rs.core.Response response)
     
    static javax.ws.rs.core.MediaType
    toMediaType(String mediaType)
     
    static List<javax.ws.rs.core.MediaType>
     
    static String
    toString(javax.ws.rs.core.MediaType mediaType)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isRequired

      public static boolean isRequired(org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.ParameterMeta parameter)
    • defaultValue

      public static String defaultValue(org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.ParameterMeta annotation)
    • toBody

      public static org.apache.dubbo.remoting.http12.HttpResult<Object> toBody(javax.ws.rs.core.Response response)
    • toMediaType

      public static javax.ws.rs.core.MediaType toMediaType(String mediaType)
    • toString

      public static String toString(javax.ws.rs.core.MediaType mediaType)
    • toMediaTypes

      public static List<javax.ws.rs.core.MediaType> toMediaTypes(String accept)
    • convert

      public static javax.ws.rs.core.NewCookie convert(org.apache.dubbo.remoting.http12.HttpCookie cookie)